|
@@ -431,7 +431,7 @@ export interface EquipmentInformationForm {
|
|
|
department: string;
|
|
|
respPerson: string;
|
|
|
phone: string;
|
|
|
- serviceLife: number;
|
|
|
+ serviceLife?: number;
|
|
|
status: string;
|
|
|
remarks: string;
|
|
|
devId: number;
|
|
@@ -520,6 +520,8 @@ export interface ProtocolListItem {
|
|
|
id?: number;
|
|
|
linkId?: number;
|
|
|
readWriteTypeCode?: string;
|
|
|
+ monitorType?: string;
|
|
|
+ searchContent?: string;
|
|
|
}
|
|
|
|
|
|
export type ProtocolListPageItemData = PageData<ProtocolListPageItem>;
|
|
@@ -619,10 +621,14 @@ export interface EquipmentUpdateForm {
|
|
|
deviceId: number;
|
|
|
gatewayId: number;
|
|
|
gatewayProtocolId: number;
|
|
|
+ linkId?: number;
|
|
|
}
|
|
|
|
|
|
export interface GetListItem {
|
|
|
deviceId: number;
|
|
|
+ monitorType: string;
|
|
|
+ pageIndex: number;
|
|
|
+ pageSize: number;
|
|
|
gatewayId?: number;
|
|
|
createUserId?: number;
|
|
|
}
|
|
@@ -675,6 +681,15 @@ export interface PostProtocolPageItem {
|
|
|
groupSerialNum: number;
|
|
|
groupParamSerialNum: number;
|
|
|
deviceId: number;
|
|
|
+ isProcessData: boolean;
|
|
|
+ gatewayId: number;
|
|
|
+ deviceParamCode: string;
|
|
|
+ deviceParamName: string;
|
|
|
+ groupId?: number;
|
|
|
+ deviceParamCodeShow: boolean;
|
|
|
+ deviceParamNameShow: boolean;
|
|
|
+ groupIdShow: boolean;
|
|
|
+ groupParamSerialNumShow: boolean;
|
|
|
}
|
|
|
|
|
|
export interface ProtocolGatewayListListItem {
|
|
@@ -682,6 +697,8 @@ export interface ProtocolGatewayListListItem {
|
|
|
pageSize: number;
|
|
|
snCode?: number;
|
|
|
gatewayId?: number;
|
|
|
+ searchContent: string;
|
|
|
+ monitorType: string;
|
|
|
}
|
|
|
|
|
|
export interface ParameterVerification {
|
|
@@ -747,6 +764,10 @@ export interface DevicesList {
|
|
|
groupId?: number;
|
|
|
deviceType?: number;
|
|
|
searchContent?: string;
|
|
|
+ brandName?: string;
|
|
|
+ modelName?: string;
|
|
|
+ gatewaySnCode?: string;
|
|
|
+ deviceName?: string;
|
|
|
}
|
|
|
|
|
|
export interface ListInterfaces {
|
|
@@ -773,12 +794,19 @@ export interface ListPhysicalInterfaces {
|
|
|
|
|
|
export interface CustomizationData {
|
|
|
paramNum: string;
|
|
|
+ paramNumShow: boolean;
|
|
|
paramName: string;
|
|
|
+ paramNameShow: boolean;
|
|
|
customFormula: string;
|
|
|
+ customFormulaShow: boolean;
|
|
|
unit: string;
|
|
|
+ unitShow: boolean;
|
|
|
decimalDigits?: number;
|
|
|
+ decimalDigitsShow: boolean;
|
|
|
paramGroupId?: number;
|
|
|
+ paramGroupIdShow: boolean;
|
|
|
groupSerialNum?: number;
|
|
|
+ groupSerialNumShow: boolean;
|
|
|
groupParamSerialNum?: number;
|
|
|
isProcessData: boolean;
|
|
|
}
|
|
@@ -789,6 +817,11 @@ export interface CustomParameters {
|
|
|
decimalDigits?: number;
|
|
|
deviceId: number;
|
|
|
isProcessData: boolean;
|
|
|
+ paramGroupId?: number;
|
|
|
+ groupParamSerialNum?: number;
|
|
|
+ paramType?: number;
|
|
|
+ deviceParamCode: string;
|
|
|
+ deviceParamName: string;
|
|
|
}
|
|
|
|
|
|
export interface SubmitSorting {
|
|
@@ -796,9 +829,201 @@ export interface SubmitSorting {
|
|
|
paramGroupId?: number;
|
|
|
serialNum?: number;
|
|
|
paramType?: number;
|
|
|
+ isProcessData?: boolean;
|
|
|
+ deviceParamName?: string;
|
|
|
+ deviceParamCode?: string;
|
|
|
+ groupId?: number;
|
|
|
}
|
|
|
|
|
|
export type DevicesListItemData = PageData<DevicesListItem>;
|
|
|
export interface DevicesListItem {
|
|
|
- name: string;
|
|
|
+ id: number;
|
|
|
+ deviceName: string;
|
|
|
+ groupId: number;
|
|
|
+ deviceType: number;
|
|
|
+ userId: number;
|
|
|
+ brand: number;
|
|
|
+ model: number;
|
|
|
+ modelType: number;
|
|
|
+ controlType: number;
|
|
|
+ compressionLevel: number;
|
|
|
+ voltageLevel: number;
|
|
|
+ powerRating: number;
|
|
|
+ powerUnload: number;
|
|
|
+ maximumFlow: number;
|
|
|
+ pressure: number;
|
|
|
+ pressureMax: number;
|
|
|
+ productionDate: string;
|
|
|
+ productionNum: string;
|
|
|
+ mainTechData: string;
|
|
|
+ mountedPosition: string;
|
|
|
+ department: string;
|
|
|
+ respPerson: string;
|
|
|
+ phone: string;
|
|
|
+ serviceLife: number;
|
|
|
+ status: number;
|
|
|
+ remarks: string;
|
|
|
+ deviceNum: string;
|
|
|
+ deleted: boolean;
|
|
|
+ deviceGroup: DeviceGroup;
|
|
|
+ gatewayInfos: GatewayInfos[];
|
|
|
+ protocolParamInfos: ProtocolParamInfos[];
|
|
|
+ groupName: string;
|
|
|
+ deviceTypeName: string;
|
|
|
+ brandName: string;
|
|
|
+ modelName: string;
|
|
|
+ modelTypeName: string;
|
|
|
+ controlTypeName: string;
|
|
|
+ compressionLevelName: string;
|
|
|
+ voltageLevelName: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface DeviceGroup {
|
|
|
+ id: number;
|
|
|
+ createTime: string;
|
|
|
+ updateTime: string;
|
|
|
+ createUserId: number;
|
|
|
+ updateUserId: number;
|
|
|
+ groupName: string;
|
|
|
+ comment: string;
|
|
|
+ parentId: number;
|
|
|
+ userId: number;
|
|
|
+ deleted: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface GatewayInfos {
|
|
|
+ id: number;
|
|
|
+ createTime: string;
|
|
|
+ updateTime: string;
|
|
|
+ createUserId: number;
|
|
|
+ updateUserId: number;
|
|
|
+ snCode: string;
|
|
|
+ password: string;
|
|
|
+ modelId: number;
|
|
|
+ isRegister: string;
|
|
|
+ state: string;
|
|
|
+ deleted: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface ProtocolParamInfos {
|
|
|
+ id: number;
|
|
|
+ createTime: string;
|
|
|
+ updateTime: string;
|
|
|
+ createUserId: number;
|
|
|
+ updateUserId: number;
|
|
|
+ baseInfoId: number;
|
|
|
+ orgId: number;
|
|
|
+ recognizeResult: string;
|
|
|
+ candidateResults: string;
|
|
|
+ platformParamCode: string;
|
|
|
+ platformParamName: string;
|
|
|
+ gatewayParamCode: string;
|
|
|
+ gatewayParamName: string;
|
|
|
+ paramCode: string;
|
|
|
+ paramName: string;
|
|
|
+ unit: string;
|
|
|
+ module: string;
|
|
|
+ readWriteType: string;
|
|
|
+ readWriteTypeCode: string;
|
|
|
+ readFuncCode: string;
|
|
|
+ writeFuncCode: string;
|
|
|
+ registerAddr: string;
|
|
|
+ addrNumber: string;
|
|
|
+ registerType: string;
|
|
|
+ registerTypeCode: string;
|
|
|
+ parsingType: string;
|
|
|
+ parsingTypeCode: string;
|
|
|
+ addrLength: number;
|
|
|
+ wordLength: string;
|
|
|
+ wordLengthCode: string;
|
|
|
+ quantity: number;
|
|
|
+ coefficient: number;
|
|
|
+ isHighFreqParam: string;
|
|
|
+ isHighFreqParamCode: string;
|
|
|
+ readCalcFormula: string;
|
|
|
+ writeCalcFormula: string;
|
|
|
+ decimalPlace: number;
|
|
|
+ isDraft: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface GatewayBody {
|
|
|
+ pageIndex: number;
|
|
|
+ pageSize: number;
|
|
|
+ searchContent: string;
|
|
|
+ state: number;
|
|
|
+}
|
|
|
+
|
|
|
+export type GatewayListItemData = PageData<GatewayListItem>;
|
|
|
+export interface GatewayListItem {
|
|
|
+ id: number;
|
|
|
+ createTime: string;
|
|
|
+ updateTime: string;
|
|
|
+ createUserId: number;
|
|
|
+ updateUserId: number;
|
|
|
+ snCode: string;
|
|
|
+ password: string;
|
|
|
+ modelId: number;
|
|
|
+ isRegister: string;
|
|
|
+ state: string;
|
|
|
+ deleted: string;
|
|
|
+ modelName: string;
|
|
|
+ protocolParamInfoQueryVos: protocolParamInfo[];
|
|
|
+}
|
|
|
+
|
|
|
+export interface protocolParamInfo {
|
|
|
+ baseInfoId: number;
|
|
|
+ orgId: number;
|
|
|
+ recognizeResult: string;
|
|
|
+ candidateResults: string;
|
|
|
+ platformParamCode: string;
|
|
|
+ platformParamName: string;
|
|
|
+ gatewayParamCode: string;
|
|
|
+ gatewayParamName: string;
|
|
|
+ paramCode: string;
|
|
|
+ paramName: string;
|
|
|
+ unit: string;
|
|
|
+ module: string;
|
|
|
+ readWriteType: string;
|
|
|
+ readWriteTypeCode: string;
|
|
|
+ readFuncCode: string;
|
|
|
+ writeFuncCode: string;
|
|
|
+ registerAddr: string;
|
|
|
+ addrNumber: string;
|
|
|
+ registerType: string;
|
|
|
+ registerTypeCode: string;
|
|
|
+ parsingType: string;
|
|
|
+ parsingTypeCode: string;
|
|
|
+ addrLength: number;
|
|
|
+ wordLength: string;
|
|
|
+ wordLengthCode: string;
|
|
|
+ quantity: number;
|
|
|
+ coefficient: number;
|
|
|
+ isHighFreqParam: string;
|
|
|
+ isHighFreqParamCode: string;
|
|
|
+ readCalcFormula: string;
|
|
|
+ writeCalcFormula: string;
|
|
|
+ decimalPlace: number;
|
|
|
+ isDraft: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface GatewayParameterBody {
|
|
|
+ pageIndex: number;
|
|
|
+ pageSize: number;
|
|
|
+ gatewayId: number;
|
|
|
+ gatewayLinkProtocolId: number;
|
|
|
+}
|
|
|
+
|
|
|
+export type GatewayParameterItemData = PageData<GatewayParameterItem>;
|
|
|
+export interface GatewayParameterItem {
|
|
|
+ id: number;
|
|
|
+ paramName: string;
|
|
|
+ paramCode: string;
|
|
|
+ gatewayParamName: string;
|
|
|
+ gatewayParamCode: string;
|
|
|
+ unit: string;
|
|
|
+ readWriteType: string;
|
|
|
+ readWriteTypeCode: string;
|
|
|
+ value: string | number;
|
|
|
+ time: string;
|
|
|
+ monitorStatus: string;
|
|
|
}
|