Example #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is UID))
            {
                return(false);
            }
            UID u = (UID)obj;

            // return (B0 == u.B0) && (B1 == u.B1) && (B2 == u.B2) && (B3 == u.B3);
            return((B0 == u.B0) && (B1 == u.B1) && (B2 == u.B2));
        }
Example #2
0
 public Dimmer(UID id, int outputs)
 {
     Init(id, 0, outputs, true);
 }
Example #3
0
 public Panel(UID id, int inputs, int outputs)
 {
     Init(id, inputs, outputs, true);
 }