export const stationConfigModules = [ { "key": "module", "title": "光伏组件", "api": "stationModule", "perm": "config:stationModule", "exportName": "光伏组件配置.xlsx", "fields": [ [ "model", "组件型号", "input", true ], [ "brand", "品牌", "input" ], [ "ratedPower", "额定功率(W)", "number" ], [ "moduleType", "组件类型", "select", false, [ [ "单面", "单面" ], [ "双面", "双面" ] ] ], [ "moduleCount", "数量", "number" ], [ "conversionEfficiency", "转换效率", "input" ], [ "temperatureCoefficient", "温度系数", "input" ], [ "installDate", "安装日期", "date" ] ], "columns": [ "stationName", "model", "brand", "ratedPower", "moduleType", "moduleCount", "conversionEfficiency", "temperatureCoefficient", "installDate" ], "search": [ "stationId", "model", "brand", "moduleType" ] }, { "key": "powerLimit", "title": "限电配置", "api": "stationPowerLimit", "perm": "config:stationPowerLimit", "exportName": "限电配置.xlsx", "fields": [ [ "limitType", "限电类型", "select", true, [ [ "调度限电", "调度限电" ], [ "检修限电", "检修限电" ], [ "故障限电", "故障限电" ] ] ], [ "startDate", "开始日期", "date" ], [ "endDate", "结束日期", "date" ], [ "limitPercent", "限电比例", "input" ], [ "reason", "原因", "input" ], [ "approver", "审批方", "input" ], [ "status", "状态", "select", false, [ [ "生效中", "生效中" ], [ "待执行", "待执行" ], [ "已结束", "已结束" ] ] ] ], "columns": [ "stationName", "limitType", "startDate", "endDate", "limitPercent", "reason", "approver", "status" ], "search": [ "stationId", "limitType", "status" ] }, { "key": "device", "title": "设备配置", "api": "stationDevice", "perm": "config:stationDevice", "exportName": "设备配置.xlsx", "fields": [ [ "deviceName", "设备名称", "input", true ], [ "deviceType", "设备类型", "input" ], [ "brand", "品牌", "input" ], [ "model", "型号", "input" ], [ "serialNumber", "序列号", "input" ], [ "status", "状态", "select", false, [ [ "在线", "在线" ], [ "故障", "故障" ], [ "离线", "离线" ], [ "维护", "维护" ] ] ], [ "installDate", "安装日期", "date" ] ], "columns": [ "stationName", "deviceName", "deviceType", "brand", "model", "serialNumber", "status", "installDate" ], "search": [ "stationId", "deviceName", "deviceType", "status" ] }, { "key": "channel", "title": "通道配置", "api": "stationChannel", "perm": "config:stationChannel", "exportName": "通道配置.xlsx", "fields": [ [ "channelName", "通道名称", "input", true ], [ "protocol", "协议", "select", false, [ [ "FTP", "FTP" ], [ "SFTP", "SFTP" ], [ "Modbus TCP", "Modbus TCP" ], [ "MQTT", "MQTT" ], [ "HTTP", "HTTP" ], [ "OPC UA", "OPC UA" ], [ "IEC 104", "IEC 104" ] ] ], [ "host", "主机地址", "input" ], [ "port", "端口", "number" ], [ "collectInterval", "采集间隔", "input" ], [ "dataType", "数据类型", "input" ], [ "status", "状态", "select", false, [ [ "正常", "正常" ], [ "延迟", "延迟" ], [ "断开", "断开" ] ] ], [ "lastSyncTime", "最后同步时间", "input" ] ], "columns": [ "stationName", "channelName", "protocol", "host", "port", "collectInterval", "dataType", "status", "lastSyncTime" ], "search": [ "stationId", "channelName", "protocol", "status" ] }, { "key": "point", "title": "测点配置", "api": "stationPoint", "perm": "config:stationPoint", "exportName": "测点配置.xlsx", "fields": [ [ "deviceId", "设备", "device" ], [ "deviceName", "设备名称", "input" ], [ "pointName", "测点名称", "input", true ], [ "unit", "单位", "input" ], [ "precisionValue", "精度", "number" ], [ "measureRange", "量程", "input" ], [ "protocol", "协议", "select", false, [ [ "Modbus", "Modbus" ], [ "OPC UA", "OPC UA" ], [ "IEC 104", "IEC 104" ], [ "MQTT", "MQTT" ] ] ], [ "address", "地址", "input" ], [ "collectInterval", "采集间隔", "input" ] ], "columns": [ "stationName", "deviceName", "pointName", "unit", "precisionValue", "measureRange", "protocol", "address", "collectInterval" ], "search": [ "stationId", "deviceName", "pointName", "protocol" ] }, { "key": "cpoint", "title": "测点表", "api": "point", "perm": "config:point", "exportName": "测点表.xlsx", "hasStation": false, "fields": [ [ "configDeviceName", "设备名称", "device", true ], [ "name", "名称", "input", true ], [ "code", "编码", "input" ], [ "addr", "地址", "number" ], [ "category", "测点类型", "select", false, [ [ "遥信", "YX" ], [ "遥测", "YC" ], [ "遥控", "YM" ], [ "遥调", "YT" ] ] ], [ "initValue", "初始值", "input" ], [ "willInverse", "是否取反", "switch", true, [ [ "是", "Y" ], [ "否", "N" ] ] ], [ "kbComposite", "计算方式", "select", true, [ [ "不复合", "0" ], [ "复合", "1" ] ] ], [ "k", "K", "number" ], [ "b", "B", "number" ], [ "zeroFilter", "零漂", "number" ], [ "willCheckUd", "越限检查", "select", false, [ [ "是", "Y" ], [ "否", "N" ] ] ], [ "up1", "上限1", "number" ], [ "up2", "上限2", "number" ], [ "down1", "下限1", "number" ], [ "down2", "下限2", "number" ], [ "hopFilter", "滤波", "number" ], [ "lazyTm", "呆值时间", "number" ], [ "configAlarmTemplateId", "报警模板id", "number" ] ], "columns": [ "name", "code", "addr", "category", "configDeviceName", "initValue", "willInverse", "kbComposite", "k", "b", "zeroFilter", "willCheckUd", "up1", "up2", "down1", "down2", "hopFilter", "lazyTm", "configAlarmTemplateId" ], "search": [ "name", "code", "category", "willCheckUd" ] } ];