private NMRACommand(NMRACommandPriority priority, NMRACommandType type, List<byte> dataBytes) : this(dataBytes) { this.priority = priority; this.type = type; }
private static NMRACommand LocoBroadcast(NMRACommandPriority priority, NMRACommandType type, byte[] instruction) { List<byte> list = new List<byte>(); list.Add(NMRA.LocoBroadcastAddress); list.AddRange(instruction); return new NMRACommand(priority, type, list); }
private NMRACommand(NMRACommandType type, List<byte> dataBytes) : this(dataBytes) { this.type = type; }