|
@@ -5,7 +5,7 @@ import type { Component, ComponentPublicInstance } from 'vue';
|
|
|
import type { StepProps, UploadProps } from 'ant-design-vue';
|
|
|
import type { Rule, RuleObject } from 'ant-design-vue/es/form';
|
|
|
import type { FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
|
-import type { ProtocolConfigMethod } from '@/constants';
|
|
|
+import type { DeviceRunningStatus, ProtocolConfigMethod } from '@/constants';
|
|
|
|
|
|
export interface ApiResponse<T> {
|
|
|
data: T;
|
|
@@ -776,6 +776,7 @@ export interface DevicesList {
|
|
|
gatewaySnCode?: string;
|
|
|
deviceName?: string;
|
|
|
runningStatus?: number;
|
|
|
+ runningStatusList?: DeviceRunningStatus[] | null;
|
|
|
errorStatus?: number;
|
|
|
}
|
|
|
|
|
@@ -873,6 +874,7 @@ export interface DevicesListItem {
|
|
|
phone: string;
|
|
|
serviceLife: number;
|
|
|
status: number;
|
|
|
+ runningStatus: number;
|
|
|
remarks: string;
|
|
|
deviceNum: string;
|
|
|
deleted: boolean;
|
|
@@ -903,6 +905,23 @@ export interface DeviceGroup {
|
|
|
orgId: number;
|
|
|
}
|
|
|
|
|
|
+export interface DeviceParamGroup {
|
|
|
+ id: number;
|
|
|
+ deviceParamGroupName: string;
|
|
|
+ valueVos: DeviceParamItem[];
|
|
|
+}
|
|
|
+
|
|
|
+export interface DeviceParamItem {
|
|
|
+ value: string;
|
|
|
+ valueId: number | null;
|
|
|
+ serialNum: number | null;
|
|
|
+ paramName: string;
|
|
|
+ unit: string | null;
|
|
|
+ time: string;
|
|
|
+ deviceParamName: string;
|
|
|
+ deviceParamCode: string;
|
|
|
+}
|
|
|
+
|
|
|
export interface DeviceTypeCount {
|
|
|
deviceType: number;
|
|
|
deviceTypeName: string;
|