import { ICraneWarningDetailTableRowData } from './towerCrane.model'; export interface ElectricityDeviceIdModel { elecDeviceId: string; } export interface ElectricitModel { elecInitConfiguration: number; elecUnInitConfiguration: number; isSetUp: boolean; } export interface CraneParamModel { ratio: number; tenantId: string; projectId: string; } // 龙门吊相关参数 export interface IGantryCraneParamModel { ratio: number; tenantId: string; projectId: string; } // 位置--用电箱/水表 获取表格项 export interface ILocationTableItem { // 项目id projectId?: string; // 表格行标识id id: string; // 设备id deviceId: string; // 设备名称 deviceName: string; // 设备位置 position: string; // 创建时间 createdAt?: string; } // 位置--增加 用电箱/水表 项 export interface IAddLocationItem { // 设备列表 deviceIds: string[]; // 设备位置 position: string; } // 位置--修改 用电箱/水表 表格项 export interface IEditLocationItem { // 设备列表 deviceId: string; // 设备位置 position: string; } // 等级--获取 用电箱/水表 表格项 export interface ILevelTableItem { // 表格行标识id id: string; // 等级id levelId: number; // 等级名 levelName: string; // 设备id deviceId: string; // 设备名称 deviceName: string; } // 等级--增加 用电箱/水表 项 export interface IAddLevelItem { // 设备列表 deviceIds: string[]; // 设备等级 levelId: number; } // 等级--修改配电箱表格项 export interface IEditLevelItem { // 设备 deviceId: string; // 设备等级 levelId: number; } export interface IloadWaterSavingInfo { startDate?: string; endDate?: string; phaseEnum?: string; data?: IloadWaterSavingInfoList[]; } export interface IloadWaterSavingInfoList { position?: string; bizEnum?: string; total?: number; thousandOutput?: number; monthValue?: number; } // 公告表格项 export interface IAnnouncementListItem { id: string; // 公告id projectId: string; // 项目id projectName: string; // 项目名称 startTime: string; // 提交时间 endTime: string; // 结束时间 noticeContent: string; // 公告内容 status: number; // 状态 1.未发布 2.进行中 3.已下线 creatorId: string; // 创建人id updatorId: string; // 更新人id alarmType: string; // 报警类型 createTime: string; // 创建时间 updateTime: string; // 更新时间 delStatus: number; // 删除状态 0.未删除 1.已删除 3.已下线 } // 公告表格 export interface IAnnouncementList { pageSize?: number; totalCount: number; totalPage?: number; data: IAnnouncementListItem[], } export interface ILoadAnnouncementListParams { pageIndex?: number; pageSize?: number; } // 添加公告 export interface IAddAnnouncementData { noticeContent: string; startTime: string; } // 水表设备单项 export interface IWaterDeviceItem { deviceId: string; deviceName: string } // 基础水表限量规则 export interface IBaseWaterDeviceRules { deviceId: string; limitVolume: number; // 限量设置的值 limitEnable: number; // 是否启用 1 启用,0 不启用 } // 增加基础水表限量规则 表单项 export interface IWaterDeviceFormRules extends IBaseWaterDeviceRules {} // 获取基础水表限量规则 表单单项 export interface IWaterDeviceUpdateFormRules extends IBaseWaterDeviceRules { id: string; // 主键 } // 水表限量规则项 (表格单项) export interface IWaterDeviceUpdateRulesItem extends IBaseWaterDeviceRules { id: string; // 主键 createdAt: string; // 创建时间 projectId: string; // 项目id deviceName: string; // 设备名称 } // 水表限量表格 export interface IWaterDeviceUpdateRulesTable { totalPage: number; // 总页数 totalCount: number; // 总条数 pageSize: number; // 页大小 data: IWaterDeviceUpdateRulesItem[]; } // 电表设备单项 export interface ISubstationDeviceItem { deviceId: string; deviceName: string } // 基础 电表限量规则 export interface IBaseSubstationDeviceRules { deviceId: string; limitVolume: number; // 限量设置的值 limitEnable: number; // 是否启用 1 启用,0 不启用 } // 增加基础 电表限量规则 表单项 export interface ISubstationDeviceFormRules extends IBaseSubstationDeviceRules {} // 获取基础 电表限量规则 表单单项 export interface ISubstationDeviceUpdateFormRules extends IBaseSubstationDeviceRules { id: string; // 主键 } // 电表限量规则项 (表格单项) export interface ISubstationDeviceUpdateRulesItem extends IBaseSubstationDeviceRules { id: string; // 主键 createdAt: string; // 创建时间 projectId: string; // 项目id deviceName: string; // 设备名称 } // 电表限量表格 export interface ISubstationDeviceUpdateRulesTable { totalPage: number; // 总页数 totalCount: number; // 总条数 pageSize: number; // 页大小 data: ISubstationDeviceUpdateRulesItem[]; } // 用水电单体设置 export interface IWaterPower { position: string; total?: number; existValue?: boolean; parentType?: number; thousandOutput: number; children: IWaterPowerChild[]; } export interface IWaterPowerChild { phaseEnum?: string; bizEnum?: string; id?: string; childType?: number; time?: string[]; startDate?: string; endDate?: string; total?: number; thousandOutput?: number; monthValue?: number; } export interface IWaterMeterPosition { createdAt?: number, deviceId?: string, deviceName?: string, id?: string, initialValue?: number, level?: number, levelDesc?: string, name?: string, status?: number, updatedAt?: number } export interface ISubstationPositionQueryValueAllot { name?: string positionId?: string, value?: number }