export interface DeviceSummary { deviceId: string; deviceName: string; deviceType: DeviceType; deviceTypeEn: string; deviceSource: string; deviceModelId: string; pictureUrl: string; online: boolean; workAreaId?: string; locationId?: string; locationMaps: { Pixel?: any; Latlng?: any; GPS?: any; BIM?: any; }; metadata: DeviceMetadata; logoType?: string; } export interface ModelList { modelType: string; modelId?: string; } export interface DeviceMetadata { custom: { id: string; projectId: string; deviceSn: string; desc: string; deviceTypeId: string; deviceType: string; deviceBrand: string; deviceIcon: string; devicePin: string; devicePic: string; }; monitorType?: number; customTowerCraneType?: string; } export declare enum DeviceLocationType { Pixel = "Pixel", Latlng = "Latlng", GPS = "GPS", BIM = "BIM" } export declare enum DeviceType { EnvironmentControlEquipment = "EnvironmentControlEquipment", Crane = "Crane", TowerCrane = "TowerCrane", Camera = "Camera", BallCamera = "BallCamera", GunCamera = "GunCamera", AttendanceEquipment = "AttendanceEquipment", GateEquipment = "GateEquipment", WeighbridgeEquipment = "WeighbridgeEquipment", Elevator = "Elevator", UnloadPlatform = "UnloadPlatform", SprayEquipment = "SprayEquipment", WaterMeter = "WaterMeter", SmokeDetection = "SmokeDetection", Substation = "Substation", GuardFence = "GuardFence", InfraredAlarm = "InfraredAlarm", GantryCrane = "GantryCrane", Treasury = "Treasury", CuringRoom = "CuringRoom", WifiEducate = "WifiEducate", LaunchingGantry = "LaunchingGantry", PitchMixStation = "PitchMixStation", Compactor = "Compactor", Paver = "Paver", SewageDetection = "SewageDetection", HarmfulGas = "HarmfulGas", HangBasket = "HangBasket", AntiOverturn = "AntiOverturn", VehicleGate = "VehicleGate", WireRopeDamage = "WireRopeDamage", ElectronicLock = "ElectronicLock" } export interface INewLoadAllDevicesParams { projectId?: string; hasStatus?: boolean; } export interface ISimpleDevice { id: string; deviceName: string; } export interface LocationMaps { Pixel: Pixel; BIM: Bim; } export interface Bim { x: number; y: number; z: number; } export interface Pixel { x: number; y: number; } export interface CraneDriverModel { id?: string; tenantId?: string; projectId?: string; entityId?: string; driverName?: string; driverID?: string; sex?: string; idCardNo?: string; age?: string; workAge?: string; certificateNo?: string; } export interface CraneDeviceModel { id?: string; tenantId?: string; projectId?: string; entityId?: string; model?: string; recordNumber?: string; manufacturer?: string; propertyUnit?: string; installationUnit?: string; verifyDate?: string; recordDate?: string; foreArmLength?: string; rearArmLength?: string; armHeight?: string; maxLoad?: string; ratedTorque?: string; } export interface ISimpleDevice { id: string; deviceName: string; } export interface IDevicesMenuList { name: string; code: string; authCode: string; } export interface DevicePosition { type: string; location: { x: number; y: number; }; } export interface IEnvDefinitionsItem { startTime?: number; endTime?: number; eventType?: string; alertLevel?: number; notifications?: string; lowerLimit?: number; ruleExpression?: string; warningType?: number; } export interface IEnvItem { id?: string; tenantId?: string; projectId: string; ownerId?: string; deviceModelId?: string; deviceAttrCode: string; deviceAttrName: string; maxValue: number; minValue: number; enable?: boolean; definitions: IEnvDefinitionsItem[]; } export interface RealTimeMachineryData { returnCode?: number; result?: RealTimeMachineryRowData[]; } export interface RealTimeMachineryRowData { modelName?: string; deviceCount?: number; } export interface CraneSimpleInfo { deviceId: string; foreArmLength: number; rearArmLength: number; rotation: number; amplitude: number; height: number; isAlarm: boolean; deviceName: string; sn: string; } export interface CraneSimpleInfoList extends Array { } export interface DriverInfo { driverID?: string; driverName?: string; sex?: string; idCardNo?: string; age?: number; workAge?: number; certificateNo?: string; driverAuthStatus?: string; driverAuthTime?: string; CraneDetailInfo?: string; driverIDCard?: string; photoUrl?: string; } export interface DeviceInfo { id?: string; tenantId?: string; projectId?: string; appointNo?: string; model?: string; recordNumber?: string; deviceTypeName?: string; manufacturingLicense?: string; manufacturer?: string; propertyUnit?: string; manufactureDate?: string; manufacturingNo?: string; contactNumber?: string; dismantleUnit?: string; detectionUnit?: string; deviceNumber?: string; installationUnit?: string; verifyDate?: string; recordDate?: string; maxLoad?: number; ratedTorque?: number; customTowerCraneType?: string; } export interface CraneDetailInfo { id?: string; online?: boolean; isAlarm?: boolean; rotation?: number; isOnline?: boolean; alarmFbnZone?: number; alarmHwFault?: number; alarmIncline?: number; alarmLimit?: number; alarmLoad?: number; alarmObCollision?: number; alarmTorque?: number; alarmTrCollision?: number; alarmWindspeed?: number; amplitude?: number; height?: number; windspeed?: number; weight?: number; angle?: number; loadRatio?: number; torqueRatio?: number; limitState?: string; foreArmLength?: number; rearArmLength?: number; armHeight?: number; deviceName?: string; driverInfo?: DriverInfo; deviceInfo?: DeviceInfo; } export interface IBorderGuardState { deviceId: string; onlineStatus: boolean; status: number; } export interface IGantryCraneCar { mainWeight: number; subWeight: number; } export interface IGantryCraneDeviceInfo { deviceId: string; deviceNo: string; deviceName: string; specNo: string; factory: string; checkInstitution: string; qualifiedTime: string; useTime: string; span: number; height: number; carWeight: Array; } export interface IGantryCraneDriverInfo { deviceId: string; driverName: string; gender: string; idCard: string; age: number; workingLife: number; certNo: string; } export interface IGantryCraneDynamicData { deviceId: string; cartDis: number; cartSpeed: number; windSpeed: number; cartSkew: number; overload: number; windproof: number; duration: number; workCount: number; startTime: number; endTime: number; heightUp: number; trolDisUp: number; heightLow: number; mainLoad1: number; mainHeight1: number; subLoad1: number; subHeight1: number; trolDis1: number; trolSpeed1: number; mainLoad2: number; mainHeight2: number; subLoad2: number; subHeight2: number; trolDis2: number; trolSpeed2: number; } declare type TGantryCraneAlarmValue = 0 | 1; export interface IGantryCraneAlarm { distanceAlarmByCar: TGantryCraneAlarmValue; distanceAlarmByTrol: TGantryCraneAlarmValue; windAlarm: TGantryCraneAlarmValue; biasAlarm: TGantryCraneAlarmValue; weightAlarm: TGantryCraneAlarmValue; heightAlarm: TGantryCraneAlarmValue; collideAlarm: TGantryCraneAlarmValue; alarmCartDis: TGantryCraneAlarmValue; alarmCartSkew: TGantryCraneAlarmValue; alarmWindSpeed: TGantryCraneAlarmValue; isNormal: TGantryCraneAlarmValue; alarmTrolDis1: TGantryCraneAlarmValue; alarmMainHeight1: TGantryCraneAlarmValue; alarmMainLoad1: TGantryCraneAlarmValue; alarmSubHeight1: TGantryCraneAlarmValue; alarmSubLoad1: TGantryCraneAlarmValue; alarmTrolDis2: TGantryCraneAlarmValue; alarmMainHeight2: TGantryCraneAlarmValue; alarmMainLoad2: TGantryCraneAlarmValue; alarmSubHeight2: TGantryCraneAlarmValue; alarmSubLoad2: TGantryCraneAlarmValue; } declare type TGantryCraneStateValue = 0 | 1; declare type TGantryCraneBrakeStateValue = 0 | 1; export interface IGantryCraneState { cartLeft: TGantryCraneStateValue; cartRight: TGantryCraneStateValue; trolBefore1: TGantryCraneStateValue; trolAfter1: TGantryCraneStateValue; mainUp1: TGantryCraneStateValue; mainDown1: TGantryCraneStateValue; subUp1: TGantryCraneStateValue; subDown1: TGantryCraneStateValue; trolBefore2: TGantryCraneStateValue; trolAfter2: TGantryCraneStateValue; mainUp2: TGantryCraneStateValue; mainDown2: TGantryCraneStateValue; subUp2: TGantryCraneStateValue; subDown2: TGantryCraneStateValue; mainBrake1: TGantryCraneBrakeStateValue; subBrake1: TGantryCraneBrakeStateValue; mainBrake2: TGantryCraneBrakeStateValue; subBrake2: TGantryCraneBrakeStateValue; } declare type TGantryCraneLimitAlarmValue = 0 | 1; export interface IGantryCraneLimitAlarm { limitCartSkew: TGantryCraneLimitAlarmValue; limitDoor: TGantryCraneLimitAlarmValue; limitCartColLeft: TGantryCraneLimitAlarmValue; limitCartColRight: TGantryCraneLimitAlarmValue; limitMainHeightU1: TGantryCraneLimitAlarmValue; limitMainHeightD1: TGantryCraneLimitAlarmValue; limitSubHeightU1: TGantryCraneLimitAlarmValue; limitSubHeightD1: TGantryCraneLimitAlarmValue; limitTrolDisBefore1: TGantryCraneLimitAlarmValue; limitTrolDisAfter1: TGantryCraneLimitAlarmValue; limitMainHeightU2: TGantryCraneLimitAlarmValue; limitMainHeightD2: TGantryCraneLimitAlarmValue; limitSubHeightU2: TGantryCraneLimitAlarmValue; limitSubHeightD2: TGantryCraneLimitAlarmValue; limitTrolDisBefore2: TGantryCraneLimitAlarmValue; limitTrolDisAfter2: TGantryCraneLimitAlarmValue; } export interface IGantryCraneDynamicDetailInfo extends IGantryCraneDynamicData { alarm: IGantryCraneAlarm; status: IGantryCraneState; limit: IGantryCraneLimitAlarm; isAlarm: boolean; } export interface LmIllegalLiftingData { statisticDate: string; cyclicCount: number; overloadCount: number; windCount: number; } export interface LmManhourAnalysislist { time: string; workTime: string; } export interface LmManhourAnalysisData { deviceName: string; details: LmManhourAnalysislist[]; } export interface LmEquipmentConditionData { projectId: string; totalCount: number; onlineCount: number; offlineCount: number; } export interface LmEquipmentConditionSecondLevel { status: string; deviceName: string; driverName: string; } export interface LmAlarmCategoryData { type: string; typeDesc: string; alarmCount: number; } export interface LmAlarmCategorySecondLevelData { deviceName: string; driverName: string; alarmTimeTs: string; recoverTimeTs: string; alarmTypeDesc: string; subAlarmTypeDesc?: string; } export interface LmAlarmCategorySecondLevel { totalPage: number; totalCount: number; pageSize: number; data: LmAlarmCategorySecondLevelData[]; } export interface UpdataZebraProgress { returnCode: number; result: boolean; } export interface ZebraProgressParams { projectId: string; zebraId: number; rawName: string; newName: string; flag: number; tenantId: number; userId: number; } export interface QueryZebraProgress { returnCode: number; result: ZebraProgressTable[]; } export interface ZebraProgressTable { id: number; zebraId: number; userId: number; rawName: string; newName: string; flag: number; createTime: number; } export interface CarameListFromCraneModel { id: string; tenantId: string; projectId: string; craneDeviceId: string; deviceId: string; deviceName: string; positionName: string; } export interface CarameList { deviceId: string; deviceName: string; deviceType: string; deviceTypeEn: string; deviceTypeName: string; deviceSource: string; pictureUrl: string; online: boolean; metadata: any; hasExist: boolean; } export interface SaveCarameList { deviceId: string; deviceName: string; positionName: string; id?: string; } export interface ICraneDriverBaseInfo { id?: string; driverName: string; idCardNo: string; certificateNo?: string; workAge?: string; photoUrl?: string; } export interface ICraneDriverListItem extends ICraneDriverBaseInfo { id: string; createdAt: string; projectId: string; deviceId: string; driverID: string; sex: string; type?: number; } export interface IElevatorDevice { id: string; deviceId: string; projectId: string; deviceTypeName: string; recordNumber: string; model: string; manufacturer: string; propertyUnit: string; installationUnit: string; dismantleUnit: string; detectionUnit: string; verifyDate: number; recordDate: number; ratedLoad: number; ratedPerson: number; } export interface IDriverInfos { id: string; createdAt: number; updatedAt: number; projectId: string; deviceId: string; driverName: string; idCardNo: string; age: number; sex: string; workAge: string; certificateNo: string; type: number; photoUrl: string; orderNo: string; } export interface TypeStatistical { statisticsName: string; inspectionCount: number; missingCount: number; } export interface TypeStatisticalDetail { statisticsName: string; planCount: number; inspectionCount: number; missingCount: number; inspectionCountRadio: number; missingCountRadio: number; } export {};