|
@@ -202,11 +202,11 @@ public class AsyncService {
|
|
|
//为true表示小经编,false表示大经编
|
|
|
boolean flag = twinDevice.getDeviceCode().startsWith("C_");
|
|
|
String table = twinDevice.getDevicePath();
|
|
|
- //20250718 根据设备类型设置不同的系数,小经编系数为1.0,大经编系数为1.1
|
|
|
+ //20250728 根据设备类型设置不同的系数,小经编系数为1.0,大经编米数要乘2再乘1.1的系数
|
|
|
float coefficient = 1.0f;
|
|
|
String[] fields = xFields;
|
|
|
if (!flag) {
|
|
|
- coefficient = 1.1f;
|
|
|
+ coefficient = 2.2f;
|
|
|
fields = dFields;
|
|
|
}
|
|
|
String sql = "select %s from %s where time>%s and time <=%s";
|