Exemple #1
0
 public void Finish()
 {
     this.state         = MapStepState.Done;
     this.lastStateTime = DateTime.Now;
     if (this.result == MapStepResult.Undefined)
     {
         this.result = MapStepResult.Ok;
     }
 }
Exemple #2
0
 public MapItem(string oper, LineStation lineStation, string lineStationKey, int stepNum)
 {
     this.lineStation    = lineStation;
     this.Operation      = oper;
     this.LineStationKey = lineStationKey;
     this.StepNum        = stepNum;
     this.state          = MapStepState.New;
     this.result         = MapStepResult.Undefined;
     this.lastStateTime  = new DateTime(2000, 1, 1, 0, 0, 0);
 }
Exemple #3
0
 public void Fail()
 {
     this.result = MapStepResult.Fail;
 }