From bc696731d6c7155d81dedb6a5aa014523210eda3 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期二, 27 十月 2020 14:03:05 +0800 Subject: [PATCH] 1. 修改HeightCompensation错别字 --- HeightDetection.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/HeightDetection.cs b/HeightDetection.cs index d84b496..c6f99bc 100644 --- a/HeightDetection.cs +++ b/HeightDetection.cs @@ -167,7 +167,7 @@ FieldInfo fi = t.GetField(string.Format("station{0}", (CommonUtil.mainForm.PlateID + 1) % 5 + 1)); compv = (double)fi.GetValue(opcConfig.compensationZ); - batteryHeight[0] = HeigthCompensation(batteryHeight[0], compv, stationNumber); + batteryHeight[0] = HeightCompensation(batteryHeight[0], compv, stationNumber); //batteryHeight[0] += compv; ////batteryHeight[1] += compv; @@ -288,7 +288,6 @@ writer.Close(); } } - })); } @@ -296,7 +295,7 @@ double errorBand = Convert.ToDouble(ConfigurationManager.AppSettings["ErrorBand"]); bool isEnableRawData = Convert.ToBoolean(ConfigurationManager.AppSettings["EnableRawData"]); - private double HeigthCompensation(double rawData, double compv, int stationNum) + private double HeightCompensation(double rawData, double compv, int stationNum) { double adjustValue, finalHeight, fakeValue; adjustValue = rawData + compv; -- Gitblit v1.8.0