:id-tag="props.idTag"
/>
<td class="cs-table__name-col">{{ getId() }}</td>
+ <td class="cs-table__stopped-col">{{ getStopped() }}</td>
+ <td class="cs-table__registration-status-col">{{ getRegistrationStatus() }}</td>
<td class="cs-table__vendor-col">{{ getVendor() }}</td>
<td class="cs-table__model-col">{{ getModel() }}</td>
<td class="cs-table__firmware-col">{{ getFirmwareVersion() }}</td>
import CSConnector from './CSConnector.vue';
// import { reactive } from 'vue';
-import Utils from '@/composable/Utils';
-import {
+import Utils from '@/composables/Utils';
+import type {
ChargingStationData,
ChargingStationInfo,
ConnectorStatus,
-} from '@/type/ChargingStationType';
+} from '@/types/ChargingStationType';
const props = defineProps<{
chargingStation: ChargingStationData;
function getFirmwareVersion(): string {
return Utils.ifUndefined<string>(getInfo().firmwareVersion, 'Ø');
}
+function getStopped(): string {
+ return props.chargingStation.stopped === true ? 'Yes' : 'No';
+}
+function getRegistrationStatus(): string {
+ return props.chargingStation?.bootNotificationResponse?.status ?? 'Ø';
+}
// function showTagModal(): void {
// state.isTagModalVisible = true;
// }