Example #1
0
 public ActionContainer()
 {
     SpecAuxActions   = new List <AuxActionRef>();
     GenAuxActions    = new List <KeyValuePair <string, AuxActionRef> >();
     GenFunctions     = new List <KeyValuePair <System.Type, AuxActionRef> >();
     AvailableActions = new List <string>();
     UsedActions      = new List <string>();
     //
     //  Register all action, avoiding to give the same index
     AuxActionHorn.Register("AuxActionHorn");
     AuxControlStart.Register("AuxControlStart");
     AuxControlStopped.Register("AuxControlStopped");
     LoadAvailableActions();
 }
Example #2
0
 public void SaveProperties(AuxControlStart action)
 {
     ActivationDelay = action.ActivationDelay;
     ActionDuration  = action.ActionDuration;
 }