public PacketAddressInfo(PacketAddressInfo rhs) { MessageType = rhs.MessageType; AddressType = rhs.AddressType; MasterAddr = rhs.MasterAddr; ShortSlaveAddr = rhs.ShortSlaveAddr; ManufactureID = rhs.ManufactureID; DeviceTypeID = rhs.DeviceTypeID; DeviceID = rhs.DeviceID; }
public Packet(byte commandCode, PacketAddressInfo addrInfo) { CommandCode = commandCode; PacketAddressInfo = new PacketAddressInfo(addrInfo); StatusBytes = new StatusBytes(); Data = null; }
public Packet(CommandCode commandCode, PacketAddressInfo addrInfo) : this((byte) commandCode, addrInfo) { }
public Packet(PacketAddressInfo addrInfo) { PacketAddressInfo = new PacketAddressInfo(addrInfo); StatusBytes = new StatusBytes(); Data = null; }
protected BusMasterCommandBase(byte commandCode, PacketAddressInfo addrInfo) : this(new Packet(commandCode, addrInfo)) { }
public Packet(CommandCode commandCode, PacketAddressInfo addrInfo) : this((byte)commandCode, addrInfo) { }