本文整理汇总了C#中IValueStream类的典型用法代码示例。如果您正苦于以下问题:C# IValueStream类的具体用法?C# IValueStream怎么用?C# IValueStream使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IValueStream类属于命名空间,在下文中一共展示了IValueStream类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Load
public static VTOpenAck Load(IValueStream stream)
{
stream.EnterSequence();
var remoteVTSessionIdentifier = Value<byte>.Load(stream);
stream.LeaveSequence();
return new VTOpenAck(remoteVTSessionIdentifier);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:VTOpenAck.cs
示例2: Load
public static WritePropertyMultipleRequest Load(IValueStream stream)
{
stream.EnterSequence();
var listOfwriteAccessSpecifications = Value<ReadOnlyArray<WriteAccessSpecification>>.Load(stream);
stream.LeaveSequence();
return new WritePropertyMultipleRequest(listOfwriteAccessSpecifications);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:WritePropertyMultipleRequest.cs
示例3: Load
public static ReadPropertyMultipleAck Load(IValueStream stream)
{
stream.EnterSequence();
var listOfReadAccessResults = Value<ReadOnlyArray<ReadAccessResult>>.Load(stream);
stream.LeaveSequence();
return new ReadPropertyMultipleAck(listOfReadAccessResults);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:ReadPropertyMultipleAck.cs
示例4: Load
public static TimeSynchronizationRequest Load(IValueStream stream)
{
stream.EnterSequence();
var time = Value<DateAndTime>.Load(stream);
stream.LeaveSequence();
return new TimeSynchronizationRequest(time);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:TimeSynchronizationRequest.cs
示例5: Load
public static AuthenticateAck Load(IValueStream stream)
{
stream.EnterSequence();
var modifiedRandomNumber = Value<uint>.Load(stream);
stream.LeaveSequence();
return new AuthenticateAck(modifiedRandomNumber);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:AuthenticateAck.cs
示例6: Load
public static SetpointReference Load(IValueStream stream)
{
stream.EnterSequence();
var reference = Value<Option<ObjectPropertyReference>>.Load(stream);
stream.LeaveSequence();
return new SetpointReference(reference);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:SetpointReference.cs
示例7: Load
public static ActionList Load(IValueStream stream)
{
stream.EnterSequence();
var action = Value<ReadOnlyArray<ActionCommand>>.Load(stream);
stream.LeaveSequence();
return new ActionList(action);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:ActionList.cs
示例8: Load
public static DailySchedule Load(IValueStream stream)
{
stream.EnterSequence();
var daySchedule = Value<ReadOnlyArray<TimeValue>>.Load(stream);
stream.LeaveSequence();
return new DailySchedule(daySchedule);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:DailySchedule.cs
示例9: Load
public static VTCloseRequest Load(IValueStream stream)
{
stream.EnterSequence();
var listOfRemoteVTSessionIdentifiers = Value<ReadOnlyArray<byte>>.Load(stream);
stream.LeaveSequence();
return new VTCloseRequest(listOfRemoteVTSessionIdentifiers);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:VTCloseRequest.cs
示例10: Load
public static GetEventInformationRequest Load(IValueStream stream)
{
stream.EnterSequence();
var lastReceivedObjectIdentifier = Value<Option<ObjectId>>.Load(stream);
stream.LeaveSequence();
return new GetEventInformationRequest(lastReceivedObjectIdentifier);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:GetEventInformationRequest.cs
示例11: Load
public static DeleteObjectRequest Load(IValueStream stream)
{
stream.EnterSequence();
var objectIdentifier = Value<ObjectId>.Load(stream);
stream.LeaveSequence();
return new DeleteObjectRequest(objectIdentifier);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:7,代码来源:DeleteObjectRequest.cs
示例12: Load
public static NetworkAddress Load(IValueStream stream)
{
stream.EnterSequence();
var networkNumber = Value<ushort>.Load(stream);
var macAddress = Value<byte[]>.Load(stream);
stream.LeaveSequence();
return new NetworkAddress(networkNumber, macAddress);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:NetworkAddress.cs
示例13: Load
public static SessionKey Load(IValueStream stream)
{
stream.EnterSequence();
var key = Value<byte[]>.Load(stream);
var peerAddress = Value<NetworkAddress>.Load(stream);
stream.LeaveSequence();
return new SessionKey(key, peerAddress);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:SessionKey.cs
示例14: Load
public static RecipientProcess Load(IValueStream stream)
{
stream.EnterSequence();
var recipient = Value<Recipient>.Load(stream);
var processIdentifier = Value<uint>.Load(stream);
stream.LeaveSequence();
return new RecipientProcess(recipient, processIdentifier);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:RecipientProcess.cs
示例15: Load
public static AddressBinding Load(IValueStream stream)
{
stream.EnterSequence();
var deviceObjectIdentifier = Value<ObjectId>.Load(stream);
var deviceAddress = Value<NetworkAddress>.Load(stream);
stream.LeaveSequence();
return new AddressBinding(deviceObjectIdentifier, deviceAddress);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:AddressBinding.cs
示例16: Load
public static AtomicReadFileRequest Load(IValueStream stream)
{
stream.EnterSequence();
var fileIdentifier = Value<ObjectId>.Load(stream);
var accessMethod = Value<AccessMethodType>.Load(stream);
stream.LeaveSequence();
return new AtomicReadFileRequest(fileIdentifier, accessMethod);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:AtomicReadFileRequest.cs
示例17: Load
public static VTCloseError Load(IValueStream stream)
{
stream.EnterSequence();
var errorType = Value<Error>.Load(stream);
var listOfVTSessionIdentifiers = Value<Option<ReadOnlyArray<byte>>>.Load(stream);
stream.LeaveSequence();
return new VTCloseError(errorType, listOfVTSessionIdentifiers);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:VTCloseError.cs
示例18: Load
public static ReinitializeDeviceRequest Load(IValueStream stream)
{
stream.EnterSequence();
var reinitializedStateOfDevice = Value<ReinitializedStateOfDeviceType>.Load(stream);
var password = Value<Option<string>>.Load(stream);
stream.LeaveSequence();
return new ReinitializeDeviceRequest(reinitializedStateOfDevice, password);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:ReinitializeDeviceRequest.cs
示例19: Load
public static PropertyReference Load(IValueStream stream)
{
stream.EnterSequence();
var propertyIdentifier = Value<PropertyIdentifier>.Load(stream);
var propertyArrayIndex = Value<Option<uint>>.Load(stream);
stream.LeaveSequence();
return new PropertyReference(propertyIdentifier, propertyArrayIndex);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:PropertyReference.cs
示例20: Load
public static WhoIsRequest Load(IValueStream stream)
{
stream.EnterSequence();
var deviceInstanceRangeLowLimit = Value<Option<uint>>.Load(stream);
var deviceInstanceRangeHighLimit = Value<Option<uint>>.Load(stream);
stream.LeaveSequence();
return new WhoIsRequest(deviceInstanceRangeLowLimit, deviceInstanceRangeHighLimit);
}
开发者ID:LorenVS,项目名称:bacstack,代码行数:8,代码来源:WhoIsRequest.cs
注:本文中的IValueStream类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论