コード例 #1
0
ファイル: FirstSubProcess.cs プロジェクト: GaelOn/Test_ES
 public FirstSubProcess(string name, int id, DateTime created) : base(id, new ProcessElementEventProcessor())
 {
     Name    = name;
     Created = created;
     State   = ProcessElementState.NotStartedYet;
     ((ProcessElementEventProcessor)EventHandlerMap).InEntity = this;
 }
コード例 #2
0
 public ParamScenarioTest(string processName, int expectedStreamId, int expectedProcessId,
                          string expectedRunningService, DateTime expectedDateCreated,
                          DateTime expectedDateStarted, DateTime expectedDateStoped,
                          ProcessElementState expectedState)
 {
     ProcessName            = processName;
     ExpectedStreamId       = expectedStreamId;
     ExpectedProcessId      = expectedProcessId;
     ExpectedRunningService = expectedRunningService;
     ExpectedDateCreated    = expectedDateCreated;
     ExpectedDateStarted    = expectedDateStarted;
     ExpectedDateStoped     = expectedDateStoped;
     ExpectedState          = expectedState;
 }
コード例 #3
0
ファイル: FirstSubProcess.cs プロジェクト: GaelOn/Test_ES
 private void StopProcess(DateTime dateStop)
 {
     Stop  = dateStop;
     State = ProcessElementState.Ended;
 }
コード例 #4
0
ファイル: FirstSubProcess.cs プロジェクト: GaelOn/Test_ES
 private void StartProcess(string runningService, DateTime start)
 {
     Start          = start;
     RunningService = runningService;
     State          = ProcessElementState.Running;
 }