示例#1
0
 public StorageAddress(StorageProtocolType protocol, string service, string address, string parameter)
 {
     Protocol       = protocol;
     StorageService = service ?? throw new ArgumentNullException(nameof(service));
     Address        = address ?? throw new ArgumentNullException(nameof(address));
     Parameter      = parameter ?? throw new ArgumentNullException(nameof(parameter));
 }
示例#2
0
 public StorageProtocolSpecificData(StorageProtocolType ProtocolType, uint DataType, uint ProtocolDataRequestValue, uint ProtocolDataRequestSubValue, uint ProtocolDataLength, uint FixedProtocolReturnData)
 => (this.ProtocolType, this.DataType, this.ProtocolDataRequestValue, this.ProtocolDataRequestSubValue, ProtocolDataOffset, this.ProtocolDataLength, this.FixedProtocolReturnData, Reserved)