|
|
@ -50,6 +50,11 @@ json DeviceStateCmdImpl::createSensorDataJson() { |
|
|
|
// Water immersion sensor
|
|
|
|
report["disinfectant_volume"] = m_deviceIoControlService->getDisinfectantVolume_g(); |
|
|
|
|
|
|
|
report["pressure"][0] = m_deviceIoControlService->getPressureSensorData(1); // 液位
|
|
|
|
report["pressure"][1] = m_deviceIoControlService->getPressureSensorData(2); // 空压机压力
|
|
|
|
report["pressure"][2] = m_deviceIoControlService->getPressureSensorData(3); // 加液泵
|
|
|
|
report["pressure"][3] = m_deviceIoControlService->getPressureSensorData(4); // 喷射泵
|
|
|
|
|
|
|
|
#if (defined PROJECT_TYPE_PIPE_DISINFECTION)
|
|
|
|
|
|
|
|
report["AirInletProportionalValve"]["state"] = m_deviceIoControlService->AirInletProportionalValve_getState(); |
|
|
@ -60,6 +65,9 @@ json DeviceStateCmdImpl::createSensorDataJson() { |
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (defined PROJECT_TYPE_DRAW_BAR_BOX)
|
|
|
|