任务 #2739
金榜ETC POST协议开发
状态:
已发货
优先级:
普通
指派给:
韦 士飞
类别:
-
开始日期:
2019-12-02
计划完成日期:
2019-12-07
% 完成:
50%
预期时间:
里程碑:
描述
金榜ETC平台数据POST协议开发
历史记录
#3 由 韦 士飞 更新于 超过 5 年 之前
客户提供数据上传接口地址: http://183.63.156.109:18002/monitorTransfer-test/api/monitor.do
Post数据测试正常,连接客户提供的接口完成数据上传,测试返回数据状态均显示“成功”。
主机运行数据上传: {"gantryId": "G000211001002110010", "method": "computerStatusUpdate", "timeStamp": "1575620638", "version": "1001", "computerStatus": [{"id": "1", "sysDiskUsage": "60.45", "sysDiskSize": "57192448", "dataDiskUsage": "61.54","dataDiskSize": "42512384", "memoryUsage": "23.03", "memorySize": "127254528", "netUsage": "0","cpuUsage": "8.00", "cpuTemperature": "0", "ip": "192.168.0.222"}]}
状态返回: {"code":"1000","msg":"成功"}
主机采集数据上传: {"gantryId": "G000211001002110010", "method": "cabinetStatusUpdate", "timeStamp": "1575620624", "version": "1001", "cabinetStatus": { "id": "1","elec": [{"id": "1", "warningMsg": "电压: 238.0 V, 电流: 5.3 A","status": "0","elecConsumption": "20503","voltage": "2380","current": "5332","power": "2850","frequency": "4997"}],"rectifier": [{"id": "1", "warningMsg": "电池组电县 50.1 V, 电池组容釿 104.6 AH","status": "0"},{"id": "2", "warningMsg": "电池组电县 50.1 V, 电池组容釿 104.3 AH","status": "0"}],"ups": [{"id": "1", "warningMsg": "输入电压: 237.7V, 输出电压: 237.7V; 告警:市电电压 输出电压","status": "1","outputVoltage": "2377","inputCurrent": "0","isWorking": "2592"}],"airConditioners": [{"id": "1", "warningMsg": "回风温度: 22.3 °C, 送风温度: 22.0 °C","status": "0","isWorking": "0","temperatureWarning": "0"}],"thermohygrometer": { "status": "0", "temperature":"213", "humidity":"181"},"waterloggingSensor": { "status": "0", "isWarning":"0", "warningChangeTime":"2019-12-06 15:29:15"},"doors": {"status": "1","defendMode": "0","frontDoorClosed": "1", "frontDoorLocked": "0", "frontDoorUnlockType": "NoData", "frontDoorUnlockCardId": "0", "frontDoorOpenIllegally": "0", "frontDoorChangeTime":"2019-12-06 15:29:12","backDoorClosed": "1", "backDoorLocked": "1", "backDoorUnlockType": "NoData", "backDoorUnlockCardId": "0", "backDoorOpenIllegally": "0", "backDoorChangeTime":"2019-12-06 15:29:13"},"smokeSensor": { "status": "1", "isWarning":"0", "warningChangeTime":"2019-12-06 15:29:15"}}}
状态返回: {"code":"1000","msg":"成功"}