- Tank emptying remaining time indication
- Bug fixed: When copying a procwdure ItemId was not correctly set, remained 0 - Always create a message log when device initialization is completed successfully
This commit is contained in:
@@ -22,7 +22,7 @@ namespace TBF.BenchControl.MettlerToledo
|
||||
/// Warn: Start measurement when busy is true
|
||||
/// </summary>
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(BalanceDev));
|
||||
public override string ToString() { return string.Format("{0}, Mettler-Toledo Balance", balanceCfg.Name); }
|
||||
public override string ToString() { return string.Format("{0} - Mettler-Toledo Balance", balanceCfg.Name); }
|
||||
|
||||
/// <summary>
|
||||
/// Enumeration of balances via static fields and methods
|
||||
@@ -100,7 +100,9 @@ namespace TBF.BenchControl.MettlerToledo
|
||||
serialPort = new SerialPort(comPortName, balanceCfg.BaudRate, balanceCfg.Parity, balanceCfg.DataBits, balanceCfg.StopBits);
|
||||
serialPort.Handshake = balanceCfg.Handshake;
|
||||
serialPort.Open();
|
||||
}
|
||||
|
||||
log.FatalFormat("Successfully initialized device {0}", ToString());
|
||||
}
|
||||
|
||||
public bool IsEmpty(float mass)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace TBF.BenchControl.MettlerToledo
|
||||
/// Warn: Start measurement when busy is true
|
||||
/// </summary>
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(BalanceNewDev));
|
||||
public override string ToString() { return string.Format("Mettler-Toledo Balance with SN"); }
|
||||
public override string ToString() { return string.Format("{0} - Mettler-Toledo Balance with SN", balanceCfg.Name); }
|
||||
|
||||
public static void ResetStaticProperties() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user