feat: add alarm-host
This commit is contained in:
@@ -8,7 +8,7 @@ export function useDeviceSelection() {
|
||||
const router = useRouter();
|
||||
|
||||
const selectedStationCode = ref<string>();
|
||||
const selectedDeviceType = ref<DeviceTypeVal>(DeviceType.Camera);
|
||||
const selectedDeviceType = ref<DeviceTypeVal>(DeviceType.AlarmHost);
|
||||
const selectedDevice = ref<NdmDeviceResultVO>();
|
||||
|
||||
const initFromRoute = (lineDevices: LineDevices) => {
|
||||
|
||||
@@ -10,6 +10,7 @@ import { computed } from 'vue';
|
||||
|
||||
const createEmptyStationAlarmCounts = () => {
|
||||
return {
|
||||
[DeviceType.AlarmHost]: 0,
|
||||
[DeviceType.Camera]: 0,
|
||||
[DeviceType.Decoder]: 0,
|
||||
[DeviceType.Keyboard]: 0,
|
||||
|
||||
@@ -9,6 +9,7 @@ import { computed } from 'vue';
|
||||
|
||||
const createEmptyStationDevices = (): StationDevices => {
|
||||
return {
|
||||
[DeviceType.AlarmHost]: [],
|
||||
[DeviceType.Camera]: [],
|
||||
[DeviceType.Decoder]: [],
|
||||
[DeviceType.Keyboard]: [],
|
||||
|
||||
Reference in New Issue
Block a user