当处于自然模式时,不显示温度信息
This commit is contained in:
@@ -2902,6 +2902,8 @@ namespace JoyD.Windows.CS.Toprie
|
||||
// 清除DisplayImage为透明色
|
||||
g.Clear(Color.Transparent);
|
||||
|
||||
if (_deviceManager.CurrentImageMode == ImageMode.Infrared)
|
||||
{
|
||||
// 2. 如果没有温度数据或温度数据的时间3秒之前,返回
|
||||
TemperatureData temperatureData = _deviceManager.LastTemperature;
|
||||
if (temperatureData == null || temperatureData.Timestamp == null)
|
||||
@@ -3030,6 +3032,7 @@ namespace JoyD.Windows.CS.Toprie
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 设置显示状态标志
|
||||
_isDisplayingInfo = true;
|
||||
|
||||
Reference in New Issue
Block a user