mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 17:42:13 +00:00
30 lines
520 B
C#
30 lines
520 B
C#
namespace StockSharp.Studio.Core.Commands
|
|
{
|
|
using System;
|
|
|
|
using StockSharp.BusinessEntities;
|
|
|
|
public enum OrderActions
|
|
{
|
|
Registering,
|
|
Registered,
|
|
Changed,
|
|
ReRegistering,
|
|
Canceling,
|
|
}
|
|
|
|
public class OrderCommand : BaseStudioCommand
|
|
{
|
|
public OrderCommand(Order order, OrderActions action)
|
|
{
|
|
if (order == null)
|
|
throw new ArgumentNullException("order");
|
|
|
|
Order = order;
|
|
Action = action;
|
|
}
|
|
|
|
public Order Order { get; private set; }
|
|
public OrderActions Action { get; private set; }
|
|
}
|
|
} |