diff --git a/README.md b/README.md index a0e2f09..83822b1 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ v1.0 1. 预热时间数值从配置文件获取 2. 支持打印机 3. 修改加热片等大功率设备,安全继电器打开延迟50ms->500ms - V1.1 1. 添加消毒结果打印 +V1.2 + 1. 修改桶液体计算公式 ``` \ No newline at end of file diff --git a/src/service/device_io_control_service.cpp b/src/service/device_io_control_service.cpp index 2d3669a..752a7ec 100644 --- a/src/service/device_io_control_service.cpp +++ b/src/service/device_io_control_service.cpp @@ -266,9 +266,7 @@ int DeviceIoControlService::getDisinfectantVolume_g() { * @brief * int g = 2.11 * kpa * 1000 * 1.3; //直径 164 ,82 */ - int g = 2.11 * (67 * 67 / 82.0 / 82.0) * kpa * 1000 * 1.3; // 直径 134 ,67 - if (g < 450) { /**/ return 0; } else { diff --git a/src/version.hpp b/src/version.hpp index caa3055..ad8ec44 100644 --- a/src/version.hpp +++ b/src/version.hpp @@ -1,2 +1,2 @@ #pragma once -#define VERSION "1.1" \ No newline at end of file +#define VERSION "1.2" \ No newline at end of file