コード例 #1
0
 public State1(
     StateGlobal Global,
     State0 S0,
     UserActionExecutionContext ctx,
     Def.Event.IDoubleActionSet primaryEvent,
     IEnumerable <OnButtonGestureDefinition> T1,
     IEnumerable <IfButtonGestureDefinition> T2
     ) : base(Global)
 {
     this.S0           = S0;
     this.ctx          = ctx;
     this.primaryEvent = primaryEvent;
     this.T0           = Transition.Gen1_0(T1);
     this.T1           = Transition.Gen1_1(T1);
     this.T2           = Transition.Gen1_2(T1);
     this.T3           = T2;
     this.S2           = new State2(Global, S0, ctx, primaryEvent, this.T0, this.T1, this.T2, this.T3);
 }
コード例 #2
0
ファイル: Core.FSM.State2.cs プロジェクト: wantora/CreviceApp
 public State2(
     StateGlobal Global,
     State0 S0,
     UserActionExecutionContext ctx,
     Def.Event.IDoubleActionSet primaryEvent,
     IDictionary <Def.Event.ISingleAction, IEnumerable <OnButtonWithIfButtonGestureDefinition> > T0,
     IDictionary <Def.Event.IDoubleActionSet, IEnumerable <OnButtonWithIfButtonGestureDefinition> > T1,
     IDictionary <Def.Stroke, IEnumerable <OnButtonWithIfStrokeGestureDefinition> > T2,
     IEnumerable <IfButtonGestureDefinition> T3
     ) : base(Global)
 {
     this.S0           = S0;
     this.ctx          = ctx;
     this.primaryEvent = primaryEvent;
     this.T0           = T0;
     this.T1           = T1;
     this.T2           = T2;
     this.T3           = T3;
 }
コード例 #3
0
ファイル: Core.FSM.State3.cs プロジェクト: wantora/CreviceApp
 public State3(
     StateGlobal Global,
     State0 S0,
     State2 S2,
     UserActionExecutionContext ctx,
     Def.Event.IDoubleActionSet primaryEvent,
     Def.Event.IDoubleActionSet secondaryEvent,
     IEnumerable <IfButtonGestureDefinition> T0,
     IEnumerable <OnButtonWithIfButtonGestureDefinition> T1
     ) : base(Global)
 {
     this.S0             = S0;
     this.S2             = S2;
     this.ctx            = ctx;
     this.primaryEvent   = primaryEvent;
     this.secondaryEvent = secondaryEvent;
     this.T0             = T0;
     this.T1             = T1;
 }