PumpTandem component added (to be completed), fixes in component config edit controls

This commit is contained in:
Milan Hanajik
2015-01-11 05:06:18 +01:00
parent 5a0c01688a
commit b79ae4b1aa
43 changed files with 748 additions and 79 deletions
@@ -131,7 +131,7 @@ namespace TBF.BenchControl.MettlerToledo
public CfgUpdateFlags VerifyCfg(ref string message)
{
CfgUpdateFlags flags = CfgUpdateFlags.AnyChange;
CfgUpdateFlags flags = CfgUpdateFlags.None;
int dummy;
if (!int.TryParse(comPortNrTextBox.Text, out dummy) || dummy < 1 || dummy > 999)
@@ -171,7 +171,7 @@ namespace TBF.BenchControl.MettlerToledo
public CfgUpdateFlags UpdateCfg()
{
CfgUpdateFlags flags = CfgUpdateFlags.AnyChange;
CfgUpdateFlags flags = CfgUpdateFlags.RestartRqrd;
if (config == null) return CfgUpdateFlags.Error; /// Control was not loaded, settings were not changed