DiagramSocketValue
StockSharp.Diagram
连接值 。
构造函数
DiagramSocketValue
public DiagramSocketValue(DiagramSocket socket, DateTime time, object value, DiagramSocketValue source, Subscription subscription)
diagramSocketValue = DiagramSocketValue(socket, time, value, source, subscription)
连接值 。
- socket
- 连接。
- time
- 时间到了
- value
- 价值.
- source
- 出处值.
- subscription
- 订阅.
属性
SubscribedSecurity
public SecurityMessage SubscribedSecurity { get; }
value = diagramSocketValue.SubscribedSecurity
Security the Subscription was made for, with the properties (price step and so on) it had at the subscription time. when the value has no market data subscription.
方法
GetValue``1
public T GetValue<T>(bool canNull)
result = diagramSocketValue.GetValue(canNull)
以取相接之相值.
返回值: 价值.
ToString
public override string ToString()
result = diagramSocketValue.ToString()
转换为行代表.
返回值: 弦乐表演.