示例#1
0
 /// construct a scenario event (Overload 2); time is set to 0
 /// </summary>
 /// <param name="unitID">Identifier for a unit</param>
 public ScenarioEventType(string unitID)
 {
     this.UnitID = unitID;
     this.Time = 1;
     this.allUnits.Add(unitID);
     this.parameters = null;
     this.range = null;
 }
示例#2
0
 public EngramRange(EngramRange range)
 {
     this.name = range.Name;
     this.unit = range.Unit;
     this.compareTo = range.compareTo;
     this.condition = range.condition;
     this.values = range.values;
     this.testForIncluded = range.TestForIncluded;
 }
示例#3
0
 public RemoveVoiceAccessType(pRemoveVoiceChannelAccessType prva):base( prva.Time)
 {
     if(null!=prva.EngramRange)
         this.engramRange = new EngramRange(prva.EngramRange);
     this.decisionMaker = prva.DecisionMaker;
     this.voiceChannel = prva.VoiceChannel;
 }
示例#4
0
 public ApplyType(pApplyType pAT)
     : base(pAT.Time)
 {
     fromDM = pAT.FromDM;
     toDM = pAT.ToDM;
     if (null != pAT.EngramRange)
         this.engramRange = new EngramRange(pAT.EngramRange);
 }
示例#5
0
 public GrantVoiceAccessType(pGrantVoiceChannelAccessType pgva):base(pgva.Time)
 {
     if(null!=pgva.EngramRange)
         this.engramRange = new EngramRange(pgva.EngramRange);
     this.decisionMaker = pgva.DecisionMaker;
     this.voiceChannel = pgva.VoiceChannel;
 }