Minor and style changes
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using log4net;
|
||||
using TBF.BenchControl;
|
||||
using TBF.BenchControl.GenericDevices;
|
||||
|
||||
@@ -7,7 +8,14 @@ namespace TBF.BenchControl.DataEntry.Munich
|
||||
{
|
||||
public class EntryForm : Generic.IComponent, IOperation, IDataEntry, IHasCycleBeginForm, IHasCycleEndForm, IHasProtocolTitle
|
||||
{
|
||||
readonly EntryFormCfg entryFormCfg;
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(EntryForm));
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("Name={0}", Name);
|
||||
}
|
||||
|
||||
|
||||
readonly EntryFormCfg entryFormCfg;
|
||||
public Generic.IComponentCfg Cfg { get { return entryFormCfg; } }
|
||||
|
||||
public static void ResetStaticProperties() { }
|
||||
@@ -20,10 +28,10 @@ namespace TBF.BenchControl.DataEntry.Munich
|
||||
public string MainBeginStateText { get { return mainBeginStateText; } }
|
||||
string mainBeginStateText;
|
||||
|
||||
public string AuxBegintateText { get { return auxBeginStateText; } }
|
||||
public string AuxBeginStateText { get { return auxBeginStateText; } }
|
||||
string auxBeginStateText;
|
||||
|
||||
public string ProtocolTitle { get { return protocolTitle; } }
|
||||
public string ProtocolTitle { get { return protocolTitle; } }
|
||||
string protocolTitle;
|
||||
|
||||
|
||||
@@ -60,7 +68,9 @@ namespace TBF.BenchControl.DataEntry.Munich
|
||||
if (cfg == null) throw new ArgumentNullException("cfg");
|
||||
this.entryFormCfg = cfg;
|
||||
currentOp = CurrentOp.None;
|
||||
}
|
||||
|
||||
log.Debug(this.ToString());
|
||||
}
|
||||
|
||||
/// <returns>Reference to the operation</returns>
|
||||
public IOperation ShowCycleBeginFormOp(IList<IWaterMeter> waterMeters)
|
||||
|
||||
Reference in New Issue
Block a user