CommandMessage
StockSharp.Messages
信件包含关于命令更改状态的信息 。
继承自: BaseRequestMessage
构造函数
CommandMessage
protected CommandMessage(MessageTypes type)
commandMessage = CommandMessage(type)
Initialize CommandMessage.
- type
- 消息类型 。
属性
Command
public CommandTypes Command { get; set; }
value = commandMessage.Command
commandMessage.Command = value
指挥
DataType
public override DataType DataType { get; }
value = commandMessage.DataType
市场数据的类型,由给定存储操作.
ObjectId
public string ObjectId { get; set; }
value = commandMessage.ObjectId
commandMessage.ObjectId = value
辨相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相
Parameters
public IDictionary<string, string> Parameters { get; }
value = commandMessage.Parameters
参数.
Scope
public CommandScopes Scope { get; set; }
value = commandMessage.Scope
commandMessage.Scope = value
范围。
方法
Clone
public override Message Clone()
result = commandMessage.Clone()
Create a copy of CommandMessage.
返回值: 收到了,我们得去查查
CopyTo
protected void CopyTo(CommandMessage destination)
commandMessage.CopyTo(destination)
复制消息到 。
- destination
- 该对象, 复制到它的信息 。
返回值: 该对象, 复制到它的信息 。