Esempio n. 1
0
 private NMRACommand(NMRACommandPriority priority, NMRACommandType type, List<byte> dataBytes)
     : this(dataBytes)
 {
     this.priority = priority;
     this.type = type;
 }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 private NMRACommand(NMRACommandType type, List<byte> dataBytes)
     : this(dataBytes)
 {
     this.type = type;
 }