diff --git a/DM_Weight/ViewModels/HomeWindowViewModel.cs b/DM_Weight/ViewModels/HomeWindowViewModel.cs index 83793ce..aacc190 100644 --- a/DM_Weight/ViewModels/HomeWindowViewModel.cs +++ b/DM_Weight/ViewModels/HomeWindowViewModel.cs @@ -276,7 +276,7 @@ namespace DM_Weight.ViewModels byte[] data = null; float retT = await _portUtil.GetFridgeTemperature(); Thread.Sleep(80); - WD = $"恒温冷藏抽屉当前温度:{Math.Round((retT - 1.5), 2)}℃"; + WD = $"恒温冷藏抽屉当前温度:{Math.Round((retT), 2)}℃"; } } @@ -288,7 +288,7 @@ namespace DM_Weight.ViewModels byte[] data = null; float retT = await _portUtil.GetFridgeTemperature(); Thread.Sleep(80); - WD = $"恒温冷藏抽屉当前温度:{Math.Round((retT-1.5),2)}℃"; + WD = $"恒温冷藏抽屉当前温度:{Math.Round((retT),2)}℃"; } } ///