# equip

equipId: test
equipName: 智能电表
interfaceParams: {"link":"COM2,9600,8,1,E"}
protocol: {"libName":"DLT645_2007","params":{"linkPar":"2"}}
collectConf:
  {"abnormalMax":3,"allowTimeOut":{"read":2000,"write":2000},"intervalTime_ms":100,"isRunCmd":true,"pollingCycleTime_ms":1000}

inductionParam:
  {"maxLenBlock_read":{"boolArea":-1,"charArea":-1},"maxLenBlock_write":{"boolArea":-1,"charArea":-1}}

properties:
  [{"authority":"RW","dataAddress":"04_00_04_01","dataDesc":"地址","dataDisplay":"string","dataName":"地址","dataUnit":"","datalen":"12","datalenShow":true,"driveFlag":{"isConclude_R":true,"isConclude_W":false},"id":"addr","northCalcParam":{"decimal":{"numBits":0,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 10"},{"authority":"RW","dataAddress":"02_02_01_00","dataDesc":"电流","dataDisplay":"int16","dataName":"电流","dataUnit":"A","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":false,"isConclude_W":true},"id":"i","northCalcParam":{"decimal":{"numBits":0,"way":"rounding"},"offset":"0","proportion":"0.001"},"offset":"0","proportion":"0.001","taskId":"T1","uploadMode":"change 10"},{"authority":"RW","dataAddress":"00_01_00_00","dataDesc":"电能","dataDisplay":"int16","dataName":"电能","dataUnit":"kWh","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":false},"id":"power","northCalcParam":{"decimal":{"numBits":0,"way":"rounding"},"offset":"0","proportion":"0.01"},"offset":"0","proportion":"0.01","taskId":"T3","uploadMode":"timer 10 || change 10"},{"authority":"RW","dataAddress":"02_01_01_00","dataDesc":"电压","dataDisplay":"int16","dataName":"电压","dataUnit":"V","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":false,"isConclude_W":true},"id":"vol","northCalcParam":{"decimal":{"numBits":0,"way":"rounding"},"offset":"0","proportion":"0.1"},"offset":"0","proportion":"0.1","taskId":"T4","uploadMode":"label LD200 up"}]


equipId: test2
equipName: 智能断路器
interfaceParams: {"link":"COM3,115200,8,1,N"}
protocol: {"libName":"gycan","params":{"linkPar":"3"}}
collectConf:
  {"abnormalMax":3,"allowTimeOut":{"read":2000,"write":2000},"intervalTime_ms":100,"isRunCmd":true,"pollingCycleTime_ms":1000}

inductionParam:
  {"maxLenBlock_read":{"boolArea":-1,"charArea":-1},"maxLenBlock_write":{"boolArea":-1,"charArea":-1}}

properties:
  [{"authority":"RW","dataAddress":"0","dataDesc":"","dataDisplay":"string","dataName":"芯片id","dataUnit":"","datalen":"32","datalenShow":true,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"cid","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 10"},{"authority":"RW","dataAddress":"b","dataDesc":"","dataDisplay":"string","dataName":"设备码","dataUnit":"","datalen":"20","datalenShow":true,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"devSn","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T2","uploadMode":"change 10"}]


equipId: 0302010200000916
equipName: 阀门井
interfaceParams: {"link":"192.168.1.17:7777"}
protocol: {"libName":"PluginTCP","params":{"linkPar":""}}
collectConf:
  {"abnormalMax":3,"allowTimeOut":{"read":2000,"write":2000},"intervalTime_ms":100,"isRunCmd":true,"pollingCycleTime_ms":1000}

inductionParam:
  {"maxLenBlock_read":{"boolArea":-1,"charArea":-1},"maxLenBlock_write":{"boolArea":-1,"charArea":-1}}

properties:
  [{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"uint8","dataName":"纬度","dataUnit":"","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"latitude","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"uint8","dataName":"经度","dataUnit":"","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"longitude","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"uint8","dataName":"时间","dataUnit":"","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"collectTime","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"float32_ABCD","dataName":"浓度","dataUnit":"%LEL","datalen":4,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"gasVal","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"float32_ABCD","dataName":"电压","dataUnit":"V","datalen":4,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"vbat","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"uint8","dataName":"设备状态","dataUnit":"","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"gasState","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"uint8","dataName":"水浸","dataUnit":"","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"waterState","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"uint8","dataName":"异动","dataUnit":"","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"coverState","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"uint8","dataName":"信号","dataUnit":"","datalen":2,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"rssi","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"float32_ABCD","dataName":"气压","dataUnit":"kPa","datalen":4,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"pressure","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"},{"authority":"RW","dataAddress":"","dataDesc":"","dataDisplay":"float32_ABCD","dataName":"温度","dataUnit":"℃","datalen":4,"datalenShow":false,"driveFlag":{"isConclude_R":true,"isConclude_W":true},"id":"temperate","northCalcParam":{"decimal":{"numBits":1,"way":"rounding"},"offset":"0","proportion":"1"},"offset":"0","proportion":"1","taskId":"T1","uploadMode":"timer 180 || change 0.1"}]


# platform

PlatformIp: mqtt.net
tasks: T1,T2,T3,T4,T5
type: DT-MQTT-DEBUG
mqtt:
  {"isUseSsl":true,"isUseSslConf":false,"passwd":"12345","sslConf":{"localCertificate_file":"/etc/custom/sslConf/pupu_core_3501000001.pem","privateKey_file":"/etc/custom/sslConf/pupu_core_3501000001.prv"},"user":"aa"}

pushConf:
  {"broken":{"filter":{"filter_s":600,"relevanceTaskId":["T1","T2","T3","T4","T5"]},"resume":{"intervalTime_ms":1000}},"isRun":true,"isUseResumeBrokenTransfer":false}

encrypt_decrypt:
  {"decrypt_1":{"algorithm":"AES","enable":false,"param":{"bits":128,"ivec":"0123456789abcdef","key":"0123456789abcdef","mode":"CBC"}},"encrypt_1":{"algorithm":"AES","enable":false,"param":{"bits":128,"ivec":"0123456789abcdef","key":"0123456789abcdef","mode":"CBC"}}}


PlatformIp: digital.drgyen.com:8017
tasks: T1,T2,T3,T4,T5
type: HN-MQTT-BJ
mqtt:
  {"isUseSsl":false,"isUseSslConf":true,"passwd":"gy2024","sslConf":{"localCertificate_file":"/etc/custom/sslConf/pupu_core_3501000001.pem","privateKey_file":"/etc/custom/sslConf/pupu_core_3501000001.prv"},"user":"admin"}

pushConf:
  {"broken":{"filter":{"filter_s":600,"relevanceTaskId":["T1","T2","T3","T4","T5"]},"resume":{"intervalTime_ms":1000}},"isRun":true,"isUseResumeBrokenTransfer":true}

encrypt_decrypt:
  {"decrypt_1":{"algorithm":"","enable":false,"param":{"bits":0,"ivec":"","key":"","mode":""}},"encrypt_1":{"algorithm":"","enable":false,"param":{"bits":0,"ivec":"","key":"","mode":""}}}


PlatformIp: 123.60.30.87:8206
tasks: T1,T2,T3,T4,T5
type: DT-MQTT-DEFAULT
mqtt:
  {"isUseSsl":false,"isUseSslConf":false,"passwd":"I6A2DcH77fJ5g185","sslConf":{"localCertificate_file":"/etc/custom/sslConf/pupu_core_3501000001.pem","privateKey_file":"/etc/custom/sslConf/pupu_core_3501000001.prv"},"user":"gas001"}

pushConf:
  {"broken":{"filter":{"filter_s":600,"relevanceTaskId":["T1","T2","T3","T4","T5"]},"resume":{"intervalTime_ms":1000}},"isRun":true,"isUseResumeBrokenTransfer":false}

encrypt_decrypt:
  {"decrypt_1":{"algorithm":"AES","enable":false,"param":{"bits":128,"ivec":"0123456789abcdef","key":"0123456789abcdef","mode":"CBC"}},"encrypt_1":{"algorithm":"AES","enable":false,"param":{"bits":128,"ivec":"0123456789abcdef","key":"0123456789abcdef","mode":"CBC"}}}


# scheme

schemeName: 方案1
schemeType: 1p
series: B7
framework: 100ZS
middleDetect: 0
laterDetect: 1
iLeakDetectObj: {"detectInput":100,"iLeakDetect":false,"iLeakProtect":false,"protectInput":100}
configParam:
  {"addr":30018,"dataType":"uint16_t","default":"","errorRange":{},"format":[{"index":0,"key":"ec","name":"脉冲常数","size":16,"unit":"","value":"3200"},{"index":16,"key":"u","name":"电压","size":16,"unit":"V","value":"220"},{"index":32,"key":"i","name":"电流","size":16,"unit":"A","value":"10"},{"index":48,"key":"pt","name":"电压比","size":16,"unit":"","value":"1981"},{"index":64,"key":"ct","name":"电流比","size":16,"unit":"","value":"2000"},{"index":80,"key":"ileak","name":"漏电流","size":16,"unit":"ma","value":"20"},{"index":96,"key":"ig","name":"电流通道放大倍数","size":8,"unit":"","value":"0"},{"index":104,"key":"vg","name":"电压通道放大倍数","size":8,"unit":"","value":"0"},{"index":112,"key":"ilg","name":"漏电流通道放大倍数","size":8,"unit":"","value":"3"},{"index":120,"key":"reserve","name":"电流采样电阻","size":8,"unit":"","value":"440"}],"id":0,"key":"calibration_conf","len":4,"name":"标定参数","precision":"","rwType":"R","unit":""}

propertyParam:
  [{"addr":50000,"dataType":"string","default":"0","errorRange":{},"id":0,"key":"last_event","len":1,"name":"事件","precision":"","rwType":"R","unit":""},{"addr":50001,"dataType":"time","default":"0","errorRange":{},"id":0,"key":"last_event_time","len":1,"name":"事件发生时间","precision":"","rwType":"R","unit":""},{"addr":50002,"dataType":"time","default":"0","errorRange":{},"id":0,"key":"update_time","len":1,"name":"时间戳","precision":"","rwType":"R","unit":""},{"addr":50003,"dataType":"uint32","default":"","errorRange":{},"id":0,"key":"switch","len":1,"name":"开关状态","precision":"","rwType":"R","unit":""},{"addr":50004,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"Freq","len":1,"name":"电网频率","precision":"0.01","rwType":"R","unit":"Hz"},{"addr":50005,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Leak_I","len":1,"name":"漏电流/N相电流","precision":"1","rwType":"R","unit":"mA"},{"addr":50006,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tn_1","len":1,"name":"N相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50007,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tn_2","len":1,"name":"N相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50008,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Ua","len":1,"name":"A/L相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50009,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Ia","len":1,"name":"A/L相电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50010,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Pa","len":1,"name":"A/L相有功功率","precision":"0.001","rwType":"R","unit":"W"},{"addr":50011,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Qa","len":1,"name":"A/L相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50012,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Sa","len":1,"name":"A/L相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50013,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Pfa","len":1,"name":"A/L相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50014,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPa_H","len":1,"name":"A/L相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50015,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPa_L","len":1,"name":"A/L相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50016,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQa_H","len":1,"name":"A/L相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50017,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQa_L","len":1,"name":"A/L相无功电能低32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50018,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Ta_1","len":1,"name":"L/A相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50019,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Ta_2","len":1,"name":"L/A相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50020,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Ub","len":1,"name":"B相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50021,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Ib","len":1,"name":"B相电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50022,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Pb","len":1,"name":"B相有功功率    ","precision":"0.001","rwType":"R","unit":"W"},{"addr":50023,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Qb","len":1,"name":"B相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50024,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Sb","len":1,"name":"B相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50025,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Pfb","len":1,"name":"B相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50026,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPb_H","len":1,"name":"B相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50027,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPb_L","len":1,"name":"B相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50028,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQb_H","len":1,"name":"B相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50029,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQb_L","len":1,"name":"B相无功电能低32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50030,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tb_1","len":1,"name":"B相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50031,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tb_2","len":1,"name":"B相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50032,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Uc","len":1,"name":"C相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50033,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Ic","len":1,"name":"C相电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50034,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Pc","len":1,"name":"C相有功功率    ","precision":"0.001","rwType":"R","unit":"W"},{"addr":50035,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Qc","len":1,"name":"C相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50036,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Sc","len":1,"name":"C相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50037,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Pfc","len":1,"name":"C相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50038,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPc_H","len":1,"name":"C相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50039,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPc_L","len":1,"name":"C相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50040,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQc_H","len":1,"name":"C相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50041,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQc_L","len":1,"name":"C相无功电能低32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50042,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tc_1","len":1,"name":"C相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50043,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tc_2","len":1,"name":"C相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50044,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Usum","len":1,"name":"合相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50045,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Isum","len":1,"name":"合相电流/剩余电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50046,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Psum","len":1,"name":"合相有功功率","precision":"0.001","rwType":"R","unit":"W"},{"addr":50047,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Qsum","len":1,"name":"合相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50048,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Ssum","len":1,"name":"RMS 合相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50049,"dataType":"uint32","default":"0","errorRange":{"bigRange":10,"smallRange":1},"id":0,"key":"Pfsum","len":1,"name":"RMS 合相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50050,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPsum_H;","len":1,"name":"合相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50051,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPsum_L;","len":1,"name":"合相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50052,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQsum_H,;","len":1,"name":"合相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50053,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQsum_L;","len":1,"name":"合相无功电能低32位","precision":"1","rwType":"R","unit":"varh"}]

errorRange:
  {"range":{"activePower":10,"apparentPower":10,"current":10,"powerFactor":10,"reactivePower":10,"voltage":10},"smallRange":{"activePower":1,"apparentPower":1,"current":1,"powerFactor":1,"reactivePower":1,"voltage":1}}

steps:
  [{"current":100,"id":1,"isILeak":false,"powerFactor":"0.5L","step":1,"voltage":100},{"current":5,"id":2,"isILeak":false,"powerFactor":"0.5L","step":2,"voltage":100},{"current":0,"id":3,"isILeak":false,"powerFactor":"0.5L","step":3,"voltage":100},{"current":1,"id":4,"isILeak":false,"powerFactor":"0.5L","step":4,"voltage":100},{"current":1,"id":5,"isILeak":true,"powerFactor":"0.5L","step":5,"voltage":100}]


schemeName: 方案2
schemeType: 1p
series: B7
framework: 100ZS
middleDetect: 1
laterDetect: 0
steps: []
iLeakDetectObj: {"detectInput":100,"iLeakDetect":false,"iLeakProtect":false,"protectInput":100}
configParam:
  {"addr":30018,"dataType":"uint16_t","default":"","errorRange":{},"format":[{"index":0,"key":"ec","name":"脉冲常数","size":16,"unit":"","value":"3200"},{"index":16,"key":"u","name":"电压","size":16,"unit":"V","value":"220"},{"index":32,"key":"i","name":"电流","size":16,"unit":"A","value":"10"},{"index":48,"key":"pt","name":"电压比","size":16,"unit":"","value":"1981"},{"index":64,"key":"ct","name":"电流比","size":16,"unit":"","value":"2000"},{"index":80,"key":"ileak","name":"漏电流","size":16,"unit":"ma","value":"20"},{"index":96,"key":"ig","name":"电流通道放大倍数","size":8,"unit":"","value":"0"},{"index":104,"key":"vg","name":"电压通道放大倍数","size":8,"unit":"","value":"0"},{"index":112,"key":"ilg","name":"漏电流通道放大倍数","size":8,"unit":"","value":"3"},{"index":120,"key":"reserve","name":"电流采样电阻","size":8,"unit":"","value":"440"}],"id":0,"key":"calibration_conf","len":4,"name":"标定参数","precision":"","rwType":"R","unit":""}

propertyParam:
  [{"addr":50000,"dataType":"string","default":"0","errorRange":{},"id":0,"key":"last_event","len":1,"name":"事件","precision":"","rwType":"R","unit":""},{"addr":50001,"dataType":"time","default":"0","errorRange":{},"id":0,"key":"last_event_time","len":1,"name":"事件发生时间","precision":"","rwType":"R","unit":""},{"addr":50002,"dataType":"time","default":"0","errorRange":{},"id":0,"key":"update_time","len":1,"name":"时间戳","precision":"","rwType":"R","unit":""},{"addr":50003,"dataType":"uint32","default":"","errorRange":{},"id":0,"key":"switch","len":1,"name":"开关状态","precision":"","rwType":"R","unit":""},{"addr":50004,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"Freq","len":1,"name":"电网频率","precision":"0.01","rwType":"R","unit":"Hz"},{"addr":50005,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Leak_I","len":1,"name":"漏电流/N相电流","precision":"1","rwType":"R","unit":"mA"},{"addr":50006,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tn_1","len":1,"name":"N相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50007,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tn_2","len":1,"name":"N相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50008,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Ua","len":1,"name":"A/L相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50009,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Ia","len":1,"name":"A/L相电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50010,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Pa","len":1,"name":"A/L相有功功率","precision":"0.001","rwType":"R","unit":"W"},{"addr":50011,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Qa","len":1,"name":"A/L相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50012,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Sa","len":1,"name":"A/L相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50013,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Pfa","len":1,"name":"A/L相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50014,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPa_H","len":1,"name":"A/L相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50015,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPa_L","len":1,"name":"A/L相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50016,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQa_H","len":1,"name":"A/L相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50017,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQa_L","len":1,"name":"A/L相无功电能低32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50018,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Ta_1","len":1,"name":"L/A相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50019,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Ta_2","len":1,"name":"L/A相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50020,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Ub","len":1,"name":"B相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50021,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Ib","len":1,"name":"B相电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50022,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Pb","len":1,"name":"B相有功功率    ","precision":"0.001","rwType":"R","unit":"W"},{"addr":50023,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Qb","len":1,"name":"B相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50024,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Sb","len":1,"name":"B相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50025,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Pfb","len":1,"name":"B相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50026,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPb_H","len":1,"name":"B相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50027,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPb_L","len":1,"name":"B相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50028,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQb_H","len":1,"name":"B相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50029,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQb_L","len":1,"name":"B相无功电能低32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50030,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tb_1","len":1,"name":"B相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50031,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tb_2","len":1,"name":"B相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50032,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Uc","len":1,"name":"C相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50033,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Ic","len":1,"name":"C相电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50034,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Pc","len":1,"name":"C相有功功率    ","precision":"0.001","rwType":"R","unit":"W"},{"addr":50035,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Qc","len":1,"name":"C相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50036,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Sc","len":1,"name":"C相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50037,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Pfc","len":1,"name":"C相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50038,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPc_H","len":1,"name":"C相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50039,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPc_L","len":1,"name":"C相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50040,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQc_H","len":1,"name":"C相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50041,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQc_L","len":1,"name":"C相无功电能低32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50042,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tc_1","len":1,"name":"C相进线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50043,"dataType":"int32","default":"0","errorRange":{},"id":0,"key":"Tc_2","len":1,"name":"C相出线温度","precision":"0.1","rwType":"R","unit":"℃"},{"addr":50044,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Usum","len":1,"name":"合相电压","precision":"0.01","rwType":"R","unit":"V"},{"addr":50045,"critical":"0.2","dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Isum","len":1,"name":"合相电流/剩余电流","precision":"0.001","rwType":"R","unit":"A"},{"addr":50046,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Psum","len":1,"name":"合相有功功率","precision":"0.001","rwType":"R","unit":"W"},{"addr":50047,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Qsum","len":1,"name":"合相无功功率","precision":"0.001","rwType":"R","unit":"var"},{"addr":50048,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Ssum","len":1,"name":"RMS 合相视在功率","precision":"0.001","rwType":"R","unit":"va"},{"addr":50049,"dataType":"uint32","default":"0","errorRange":{"bigRange":0.5,"smallRange":1},"id":0,"key":"Pfsum","len":1,"name":"RMS 合相功率因数","precision":"0.001","rwType":"R","unit":""},{"addr":50050,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPsum_H;","len":1,"name":"合相有功电能高32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50051,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EPsum_L;","len":1,"name":"合相有功电能低32位","precision":"1","rwType":"R","unit":"Wh"},{"addr":50052,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQsum_H,;","len":1,"name":"合相无功电能高32位","precision":"1","rwType":"R","unit":"varh"},{"addr":50053,"dataType":"uint32","default":"0","errorRange":{},"id":0,"key":"EQsum_L;","len":1,"name":"合相无功电能低32位","precision":"1","rwType":"R","unit":"varh"}]

errorRange:
  {"range":{"activePower":0.5,"apparentPower":0.5,"current":0.5,"powerFactor":0.5,"reactivePower":0.5,"voltage":0.5},"smallRange":{"activePower":1,"apparentPower":1,"current":1,"powerFactor":1,"reactivePower":1,"voltage":1}}


