diff --git a/INT63DC_6CH/Forms/FormMain.cs b/INT63DC_6CH/Forms/FormMain.cs index 503d08b..4784260 100644 --- a/INT63DC_6CH/Forms/FormMain.cs +++ b/INT63DC_6CH/Forms/FormMain.cs @@ -1533,7 +1533,7 @@ namespace INT63DC_6CH.Forms if (weightLimit.ToString().Length != 0) this.ChildFormMainDisplay.UpdateDisplayPinchPointAlarm(weightLimit.ToString()); - if (this.SystemConfig.EthernetOperationMode == (int)DataStore.E_CommMode.f4_Modbus) + if (this.SystemConfig.EthernetMode == (int)DataStore.E_CommMode.f4_Modbus) this.Update30000ModbusData(i); } } @@ -1566,7 +1566,7 @@ namespace INT63DC_6CH.Forms if (weightLimit.ToString().Length != 0) this.ChildFormMainDisplay.UpdateDisplayPinchPointAlarm(weightLimit.ToString()); - if (this.SystemConfig.EthernetOperationMode == (int)DataStore.E_CommMode.f4_Modbus) + if (this.SystemConfig.EthernetMode == (int)DataStore.E_CommMode.f4_Modbus) this.Update30000ModbusData(this.CollectionWeightData.Count - i); } }