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