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)); }
public Dimmer(UID id, int outputs) { Init(id, 0, outputs, true); }
public Panel(UID id, int inputs, int outputs) { Init(id, inputs, outputs, true); }