Commit bb82cc60 by huangjy

fix:补充字段

parent 8b15d268
......@@ -49,6 +49,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
HuinengHealthReportDTO dto = new HuinengHealthReportDTO();
dto.setId(platDevice.getOriDeviceId());
dto.setDeviceType("健康监测设备");
dto.setDeviceModel(platDevice.getProductId());
dto.setDtype("实时上报");
dto.setUid(platDevice.getOriDeviceId());
dto.setPk(platDevice.getProductId());
......@@ -68,7 +69,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
reportInfo.setSleepQuality("");
reportInfo.setMedicationStatus("");
reportInfo.setAlarmReason("");
reportInfo.setAlarmType("");
reportInfo.setAlarmType("1");
reportInfo.setAlarmTime("");
reportInfo.setEventName("设备上报");
reportInfo.setEventType("1");
......@@ -112,6 +113,7 @@ public class HuiNengStrategy implements OpenApiBaseStrategy {
dto.setDtype("报警上报");
dto.setUid(platDevice.getOriDeviceId());
dto.setPk(platDevice.getProductId());
dto.setDeviceModel(platDevice.getProductId());
dto.setDid(platDevice.getOriDeviceId());
dto.setSite("");
dto.setLatitude("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment