예제 #1
0
 public FixTimeActivity(ActivitySys mgr, ResWealFixedTime config) : base(mgr, config.stCommon)
 {
     this._config         = config;
     this._inMultipleTime = false;
     for (ushort i = 0; (i < this._config.wPeriodNum) && (i < this._config.astPeriod.Length); i = (ushort)(i + 1))
     {
         FixTimePhase ap = new FixTimePhase(this, i, this._config.astPeriod[i]);
         base.AddPhase(ap);
     }
 }
예제 #2
0
        public FixTimeActivity(ActivitySys mgr, ResWealFixedTime config) : base(mgr, config.stCommon)
        {
            this._config         = config;
            this._inMultipleTime = false;
            ushort num = 0;

            while (num < this._config.wPeriodNum && (int)num < this._config.astPeriod.Length)
            {
                FixTimePhase ap = new FixTimePhase(this, (uint)num, this._config.astPeriod[(int)num]);
                base.AddPhase(ap);
                num += 1;
            }
        }