コード例 #1
0
 public FrameHeader(FrameType frameType, Direction direction, byte commandIdentifier, DisableDefaultResponse disableDefaultResponse = DisableDefaultResponse.Always, bool manufacturerSpecific = false)
 {
     FrameControl = new FrameControl()
     {
         Type      = frameType,
         Direction = direction,
         DisableDefaultResponse = disableDefaultResponse,
         ManufacturerSpecific   = manufacturerSpecific
     };
     CommandIdentifierField = commandIdentifier;
 }
コード例 #2
0
 public FrameHeader(FrameControl frameControl, byte commandIdentifier)
 {
     FrameControl           = frameControl;
     CommandIdentifierField = commandIdentifier;
 }