Commit 3f35cdbf by 111-PC\111

[+]pulsar消费服务

1 parent dcbd0da6
......@@ -169,6 +169,7 @@ public class TuyaConmsumerService {
//触发状态值,如果value没有值,则取ordervalue
if (deviceOrderCode.equals("va_temperature") || deviceOrderCode.equals("va_humidity")) {
if(StringUtils.isNotBlank(paramValue.getValue())) {
log.info("温湿度值为{}",paramValue.getValue());
Value = Integer.parseInt(paramValue.getValue()) * 10 + "";
}
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!