Clean-up
This commit is contained in:
parent
3efb042d18
commit
0d6875065c
@ -36,7 +36,6 @@ namespace TBF.Rig
|
||||
public static class StateMachine
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(StateMachine));
|
||||
private static readonly ILog wlog = LogManager.GetLogger(typeof(StateMachine));
|
||||
|
||||
/// Private devices and components
|
||||
static IList<IComponent> components; /// list of all components
|
||||
@ -782,7 +781,6 @@ namespace TBF.Rig
|
||||
MachineState = MachineState.Running;
|
||||
startDateTime = DateTime.Now;
|
||||
CycleStartTimeStamp = startDateTime; /// Do not leave CycleStartTimeStamp uninitialized
|
||||
wlog.InfoFormat(" currentTime = {0}s startDateTime = {1}", currentTimeSec.ToString(), startDateTime.ToString());
|
||||
|
||||
/// Run all devices for the first time
|
||||
foreach (var device in devices) device.RunDeviceBefore();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user