Beispiel #1
0
        public static InjectAbsorbMove create(AbstractCanDevice nodetem, double ttime, Enterclose[] iinjects, int sspeed, params int[] aabsorbs)
        {
            InjectAbsorbMove acttem = InjectAbsorbMove.create(ttime, iinjects, sspeed, aabsorbs);

            acttem.node = nodetem;
            return(acttem);
        }
Beispiel #2
0
 public static InjectAbsorbMove getInstance()
 {
     if (instance == null)
     {
         instance = new InjectAbsorbMove();
     }
     return(instance);
 }
Beispiel #3
0
        public static InjectAbsorbMove create(double ttime, Enterclose[] iinjects, int sspeed, params int[] aabsorbs)
        {
            InjectAbsorbMove acttem = new InjectAbsorbMove();

            acttem.injects = iinjects;
            acttem.absorbs = (int[])aabsorbs.Clone();
            acttem.time    = ttime;
            acttem.speed   = sspeed;
            return(acttem);
        }