Kaynağa Gözat

测温定位警告过滤

develop
H Vs 9 ay önce
ebeveyn
işleme
7e06795e97
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. +2
    -0
      GpsCardGatewayPosition.Service/MqProducer/MqProcessLogic.cs

+ 2
- 0
GpsCardGatewayPosition.Service/MqProducer/MqProcessLogic.cs Dosyayı Görüntüle

@@ -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分钟有效性限制


Yükleniyor…
İptal
Kaydet