@@ -81,6 +81,8 @@ namespace GpsCardGatewayPosition.Service.MqProducer | |||
public async Task ProcessWxTemperatureAsync(string messageId, TemperatureInfoModel temp, LocationType type = default, MethodType method = default) | |||
{ | |||
if (!_configServiceAccess.EnablePushWx) return; | |||
// 小于34过滤 或者 大于41过滤 | |||
if (temp.Temperature < 34 || temp.Temperature > 41) return; | |||
DateTime time = temp.TempTime ?? DateTime.Now; | |||
//取消测温30分钟有效性限制 | |||