Пример #1
0
 public TCDMaintenance(TCDSimulator parent, double interval_Hrs)
 {
     m_Parent       = parent;
     m_Interval_Hrs = interval_Hrs;
     m_NextDue_Hrs  = m_Parent.GetHoursOfOperation() + m_Random.NextDouble() * interval_Hrs;
 }
Пример #2
0
 /// <summary>
 /// Because the whole purpose is to wait, when the wait is over it does nothing!
 /// </summary>
 /// <param name="tcs">The simulator that this operation should be executed on.</param>
 public override void ExecuteOn(TCDSimulator tcs)
 {
     // do nothing
 }
Пример #3
0
 public override void ExecuteOn(TCDSimulator tcs)
 {
     tcs.SwitchOn(false);
 }
Пример #4
0
 abstract public void ExecuteOn(TCDSimulator tcs);
Пример #5
0
 public override void ExecuteOn(TCDSimulator tcs)
 {
     tcs.SetLiveLoadPower(m_LoadPower_W);
 }
Пример #6
0
 public override void ExecuteOn(TCDSimulator tcs)
 {
     tcs.SetRampDown(m_Rate_CpMin, false);
 }
Пример #7
0
 public override void ExecuteOn(TCDSimulator tcs)
 {
     tcs.SetSetpoint(m_Setpoint_C, false);
 }
Пример #8
0
 public override void ExecuteOn(TCDSimulator tcs)
 {
     tcs.CloseDoor();
 }