예제 #1
0
 public RXStayModel(FrostRX.RXFunc f, FrostRX.CondFunc c, float t)
 {
     this.func  = f;
     this.cond  = c;
     time       = t;
     this._time = time;
 }
예제 #2
0
 public IRXModel ExecuteContinuous(FrostRX.RXFunc f, float t)
 {
     model = new RXContinuousModel(f, t);
     model.SetRxId(rxId);
     return(model);
 }
예제 #3
0
 public IRXModel Execute(FrostRX.RXFunc f)
 {
     model = new RXExecuteModel(f);
     model.SetRxId(rxId);
     return(model);
 }
예제 #4
0
 public IRXModel ExecuteWhenStay(FrostRX.RXFunc f, FrostRX.CondFunc con, float t)
 {
     model = new RXStayModel(f, con, t);
     model.SetRxId(rxId);
     return(model);
 }
예제 #5
0
 public IRXModel ExecuteUntil(FrostRX.RXFunc f, FrostRX.CondFunc con)
 {
     model = new RXUntilModel(f, con);
     model.SetRxId(rxId);
     return(model);
 }
예제 #6
0
 public IRXModel ExecuteAfterTime(FrostRX.RXFunc f, float t)
 {
     model = new RXTimeModel(f, t);
     model.SetRxId(rxId);
     return(model);
 }
예제 #7
0
 public RXContinuousModel(FrostRX.RXFunc f, float t)
 {
     func     = f;
     waitTime = time = t;
 }
예제 #8
0
 public RXExecuteModel(FrostRX.RXFunc f)
 {
     func = f;
 }
예제 #9
0
 public RXUntilModel(FrostRX.RXFunc f, FrostRX.CondFunc c)
 {
     func = f;
     cond = c;
 }
예제 #10
0
 public RXTimeModel(FrostRX.RXFunc f, float t)
 {
     waitTime = t;
     func     = f;
     time     = t;
 }