Example #1
0
        public Command(Command clone)
        {
            line = 0;
            type = clone.type;
            code = clone.code;
            block = clone.block;

            pos = new Coordinates(clone.pos);
            E = new Value(clone.E);
            I = new Value(clone.I);
            J = new Value(clone.J);
            K = new Value(clone.K);
            L = new Value(clone.L);
            F = new Value(clone.F);
            S = new Value(clone.S);
        }
Example #2
0
        public Command()
        {
            line = 0;
            type = ' ';
            code = uint.MaxValue;
            block = uint.MaxValue;

            pos = new Coordinates();
            E = new Value();
            I = new Value();
            J = new Value();
            K = new Value();
            L = new Value();
            F = new Value();
            S = new Value();
        }
Example #3
0
        public bool Equals(Value v)
        {
            if ( !v.isSet() || !isSet() )
            {
                return false;
            }

            return _val.Equals(v._val);
        }
Example #4
0
 public Value(Value c)
 {
     _val = c._val;
 }
Example #5
0
 public Coordinates(Coordinates clone)
 {
     X = new Value(clone.X);
     Y = new Value(clone.Y);
     Z = new Value(clone.Z);
 }
Example #6
0
 public Coordinates()
 {
     X = new Value();
     Y = new Value();
     Z = new Value();
 }