Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public Packet(byte commandCode, PacketAddressInfo addrInfo)
 {
     CommandCode = commandCode; PacketAddressInfo = new PacketAddressInfo(addrInfo); StatusBytes = new StatusBytes(); Data = null;
 }
Ejemplo n.º 4
0
 public Packet(CommandCode commandCode, PacketAddressInfo addrInfo)
     : this((byte) commandCode, addrInfo)
 {
 }
Ejemplo n.º 5
0
 public Packet(PacketAddressInfo addrInfo)
 {
     PacketAddressInfo = new PacketAddressInfo(addrInfo); StatusBytes = new StatusBytes(); Data = null;
 }
Ejemplo n.º 6
0
 protected BusMasterCommandBase(byte commandCode, PacketAddressInfo addrInfo) : this(new Packet(commandCode, addrInfo))
 {
 }
Ejemplo n.º 7
0
 public Packet(PacketAddressInfo addrInfo)
 {
     PacketAddressInfo = new PacketAddressInfo(addrInfo); StatusBytes = new StatusBytes(); Data = null;
 }
Ejemplo n.º 8
0
 public Packet(byte commandCode, PacketAddressInfo addrInfo)
 {
     CommandCode = commandCode; PacketAddressInfo = new PacketAddressInfo(addrInfo); StatusBytes = new StatusBytes(); Data = null;
 }
Ejemplo n.º 9
0
 public Packet(CommandCode commandCode, PacketAddressInfo addrInfo) : this((byte)commandCode, addrInfo)
 {
 }
Ejemplo n.º 10
0
 protected BusMasterCommandBase(byte commandCode, PacketAddressInfo addrInfo)
     : this(new Packet(commandCode, addrInfo))
 {
 }