Ejemplo n.º 1
0
        public static InjectAbsorb create(AbstractCanDevice nodetem, double ttime, Enterclose[] iinjects, int sspeed, params int[] aabsorbs)
        {
            InjectAbsorb acttem = InjectAbsorb.create(ttime, iinjects, sspeed, aabsorbs);

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

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