mirror of
https://github.com/ClassicDIY/ModbusTool.git
synced 2026-10-26 18:39:29 +08:00
Revert "Revert "Corrected UI initial startup for float representation settings""
This reverts commit 9558799e07.
This commit is contained in:
@@ -189,6 +189,9 @@ namespace Modbus.Common
|
||||
case DisplayFormat.LED:
|
||||
radioButtonLED.Checked = true;
|
||||
break;
|
||||
case DisplayFormat.FloatReverse:
|
||||
radioButtonReverseFloat.Checked = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -530,6 +533,9 @@ namespace Modbus.Common
|
||||
case DisplayFormat.Integer:
|
||||
radioButtonInteger.Checked = true;
|
||||
break;
|
||||
case DisplayFormat.FloatReverse:
|
||||
radioButtonReverseFloat.Checked = true;
|
||||
break;
|
||||
}
|
||||
_displayFormat = value;
|
||||
CurrentTab.DisplayFormat = DisplayFormat;
|
||||
|
||||
Reference in New Issue
Block a user