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