Bläddra i källkod

chore(types): 更新类型

wangshun 3 veckor sedan
förälder
incheckning
bcf1e7359f
1 ändrade filer med 19 tillägg och 1 borttagningar
  1. 19 1
      src/types/index.ts

+ 19 - 1
src/types/index.ts

@@ -479,6 +479,7 @@ export interface ProtocolList {
   pageIndex: number;
   pageSize: number;
   searchContent: string;
+  protocolType: string;
 }
 
 export interface EquipmentDetailsForm {
@@ -681,6 +682,16 @@ export interface SerialNumberItem {
 export interface PhysicalInterfaceList {
   linkId: number;
   linkName: string;
+  groups: GroupItem[];
+}
+
+export interface GroupItem {
+  id: number;
+  linkName: string;
+  station: number;
+  protocolId: number;
+  protocolName: string;
+  group: string;
 }
 
 export type ListEquipmentParametersItemData = PageData<ListEquipmentParametersItem>;
@@ -703,6 +714,7 @@ export interface ListEquipmentParametersItem {
   groupName: string;
   groupIdShow: boolean;
   linkId: number;
+  gatewayLinkProtocolId: number;
 }
 
 export interface GatewayDataItem extends ListEquipmentParametersItem {
@@ -1222,6 +1234,7 @@ export interface AssociatedGatewayParameters {
   modelName: string;
   linkName: string;
   linkId: number;
+  gatewayLinkProtocolId: number;
   protocolParamInfoQueryVos: protocolParamInfo[];
 }
 
@@ -1319,6 +1332,7 @@ export interface ConfigureDeviceParameters {
   serialNum: number;
   groupName: string;
   linkId: string;
+  gatewayLinkProtocolId: number;
 }
 
 export interface CustomParametersItem {
@@ -1382,6 +1396,7 @@ export interface GatewayLinkProtocolQuery {
   linkId: number;
   monitorType: string;
   searchContent: string;
+  linkProtocolId: number;
 }
 
 export interface DeviceBindQuery {
@@ -1402,6 +1417,7 @@ export interface DeviceGateways {
   gatewayId: number;
   gatewayProtocolId: number;
   linkId: number;
+  gatewayLinkProtocolId: number;
 }
 
 export interface DeviceParamGroupRels {
@@ -1414,12 +1430,14 @@ export interface DeviceParamGroupRels {
   isProcessData: boolean;
   unit: string;
   gatewayId: number;
+  gatewayLinkProtocolId: number;
 }
 
 export interface ParamValueListAutomaticQuery {
   linkId: number;
   deviceTypeId: number;
   deviceId: number;
+  linkProtocolId: number;
 }
 
 export interface ParamValueListAutomaticData {
@@ -2100,7 +2118,7 @@ export interface CreateCustomer {
   selectedColor: string;
   leaseTerm: [Dayjs, Dayjs];
   stationsNumber: number;
-  dataValidityPeriod?: number;
+  dataValidityPeriod: string;
 }
 
 export interface CharacterItem {