export type EquipinfoId = string | number;
export type EquipinfoIds = EquipinfoId[];

export interface EquipParameterVO {
  id?: string | number;
  equipCode?: string;
  equipName?: string;
  equipType?: string;
  equipModel?: string;
  paramKey?: string;
  paramName?: string;
  paramValue?: string;
  paramType?: string;
  paramUnit?: string;
}

export interface EquipinfoVO {
  id: EquipinfoId;
  workshopId?: number;
  workshopLevel?: number;
  warehouseId?: number;
  warehouseName?: string;
  equipNo: string;
  equipName?: string;
  serverIp?: string;
  serverPort?: number;
  equipStatus?: number;
  useFlag?: number;
  updateTime?: string;
  equipType?: number;
  containerCode?: string;
  agvPositionCode?: string;
  remark?: string;
  parameterList?: EquipParameterVO[];
}

export interface EquipinfoForm {
  id?: EquipinfoId;
  workshopId?: number;
  workshopLevel?: number;
  warehouseId?: number;
  equipNo?: string;
  equipName?: string;
  serverIp?: string;
  serverPort?: number;
  equipStatus?: number;
  useFlag?: number;
  equipType?: number;
  containerCode?: string;
  agvPositionCode?: string;
  remark?: string;
  parameterList?: EquipParameterVO[];
}

export interface EquipinfoQuery extends PageQuery {
  workshopId?: number;
  workshopLevel?: number;
  warehouseId?: number;
  equipNo?: string;
  equipName?: string;
  equipStatus?: number;
  useFlag?: number;
  equipType?: number;
  agvPositionCode?: string;
  params?: any;
}
