diff --git a/KorbeRTR/FormMainWindow.cs b/KorbeRTR/FormMainWindow.cs index 67d987b70004edb839e5b72e5691d87c1969c3f2..805b9e431015714d94739c18002a8e71d19bda29 100644 --- a/KorbeRTR/FormMainWindow.cs +++ b/KorbeRTR/FormMainWindow.cs @@ -2142,131 +2142,131 @@ namespace KorbeRTR #region 压力值 int row = 1; - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No1水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No1水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No1水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No1水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No4水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No4水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No4水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No4水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No5水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No5水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No5水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No5水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No7水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No7水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No7水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No7水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No8水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No8水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No8水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No8水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No10水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No10水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No10水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No10水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No11水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No11水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No11水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 2).Text = OmronPLC.SXYL水洗压力.No11水洗压力.压力值[1].Value.ToString("F2"); row = 1; - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No13水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No13水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No13水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No13水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No14水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No14水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No14水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No14水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No15水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No15水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No15水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No15水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No16水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No16水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No16水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No16水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No17水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No17水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No17水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No17水洗压力.压力值[1].Value.ToString("F2"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No18水洗压力.压力值[0].Value.ToString("F1"); - grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No18水洗压力.压力值[1].Value.ToString("F1"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No18水洗压力.压力值[0].Value.ToString("F2"); + grid.Cell(row++, 6).Text = OmronPLC.SXYL水洗压力.No18水洗压力.压力值[1].Value.ToString("F2"); #endregion #region 上限 row = 1; - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No1水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No1水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No1水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No1水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No4水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No4水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No4水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No4水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No5水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No5水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No5水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No5水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No7水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No7水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No7水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No7水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No8水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No8水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No8水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No8水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No10水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No10水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No10水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No10水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No11水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No11水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No11水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 3).Text = OmronPLC.SXYL水洗压力.No11水洗压力.上限[1].Value.ToString("F2"); row = 1; - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No13水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No13水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No13水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No13水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No14水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No14水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No14水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No14水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No15水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No15水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No15水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No15水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No16水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No16水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No16水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No16水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No17水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No17水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No17水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No17水洗压力.上限[1].Value.ToString("F2"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No18水洗压力.上限[0].Value.ToString("F1"); - grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No18水洗压力.上限[1].Value.ToString("F1"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No18水洗压力.上限[0].Value.ToString("F2"); + grid.Cell(row++, 7).Text = OmronPLC.SXYL水洗压力.No18水洗压力.上限[1].Value.ToString("F2"); #endregion #region 下限 row = 1; - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No1水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No1水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No1水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No1水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No4水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No4水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No4水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No4水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No5水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No5水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No5水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No5水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No7水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No7水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No7水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No7水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No8水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No8水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No8水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No8水洗压力.下限[1].Value.ToString("F2"); + + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No10水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No10水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No10水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No10水洗压力.下限[1].Value.ToString("F1"); - - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No11水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No11水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No11水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 4).Text = OmronPLC.SXYL水洗压力.No11水洗压力.下限[1].Value.ToString("F2"); row = 1; - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No13水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No13水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No13水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No13水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No14水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No14水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No14水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No14水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No15水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No15水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No15水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No15水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No16水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No16水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No16水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No16水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No17水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No17水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No17水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No17水洗压力.下限[1].Value.ToString("F2"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No18水洗压力.下限[0].Value.ToString("F1"); - grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No18水洗压力.下限[1].Value.ToString("F1"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No18水洗压力.下限[0].Value.ToString("F2"); + grid.Cell(row++, 8).Text = OmronPLC.SXYL水洗压力.No18水洗压力.下限[1].Value.ToString("F2"); #endregion grid.Range(0, 0, grid.Rows - 1, grid.Cols - 1).ForeColor = Color.Black; diff --git a/KorbeRTR/Models/OmronData.cs b/KorbeRTR/Models/OmronData.cs index 82140af454b7a6bb343caf60a353885b74a141c9..ba51204ecca86e4e157ef17434554038b3ca4b17 100644 --- a/KorbeRTR/Models/OmronData.cs +++ b/KorbeRTR/Models/OmronData.cs @@ -747,31 +747,31 @@ namespace KorbeRTR.Models public class Type槽水洗压力 { [Variable] - public readonly BCDF1Uint16[] 压力值; + public readonly BCDF2Uint16[] 压力值; [VariableLog] [Variable] - public readonly BCDF1Uint16[] 上限; + public readonly BCDF2Uint16[] 上限; [VariableLog] [Variable] - public readonly BCDF1Uint16[] 下限; + public readonly BCDF2Uint16[] 下限; public Type槽水洗压力(string Name, int BaseAddr) { var group = new VariableGroupAttribute("D", 4700); - 压力值 = new BCDF1Uint16[2]; - 压力值[0] = new BCDF1Uint16("D", BaseAddr+0, string.Format("{0}水洗压力1", Name), group); - 压力值[1] = new BCDF1Uint16("D", BaseAddr+1, string.Format("{0}水洗压力2", Name), group); + 压力值 = new BCDF2Uint16[2]; + 压力值[0] = new BCDF2Uint16("D", BaseAddr+0, string.Format("{0}水洗压力1", Name), group); + 压力值[1] = new BCDF2Uint16("D", BaseAddr+1, string.Format("{0}水洗压力2", Name), group); - 上限 = new BCDF1Uint16[2]; - 上限[0] = new BCDF1Uint16("D", BaseAddr + 30, string.Format("{0}水洗压力1上限", Name), group); - 上限[1] = new BCDF1Uint16("D", BaseAddr + 31, string.Format("{0}水洗压力2上限", Name), group); + 上限 = new BCDF2Uint16[2]; + 上限[0] = new BCDF2Uint16("D", BaseAddr + 30, string.Format("{0}水洗压力1上限", Name), group); + 上限[1] = new BCDF2Uint16("D", BaseAddr + 31, string.Format("{0}水洗压力2上限", Name), group); - 下限 = new BCDF1Uint16[2]; - 下限[0] = new BCDF1Uint16("D", BaseAddr + 60, string.Format("{0}水洗压力1下限", Name), group); - 下限[1] = new BCDF1Uint16("D", BaseAddr + 61, string.Format("{0}水洗压力2下限", Name), group); + 下限 = new BCDF2Uint16[2]; + 下限[0] = new BCDF2Uint16("D", BaseAddr + 60, string.Format("{0}水洗压力1下限", Name), group); + 下限[1] = new BCDF2Uint16("D", BaseAddr + 61, string.Format("{0}水洗压力2下限", Name), group); } }