public OrderQueryEntity(CommonOrderQueryEntity commonEntity) { this.Intialize(commonEntity); }
public void Intialize(CommonOrderQueryEntity commonEntity) { this.OrderCode = commonEntity.OrderCode; this.InstrumentCode = commonEntity.InstrumentCode; this.ExchangeCode = commonEntity.ExchangeCode; this.BuySell = commonEntity.BuySell; this.OpenClose = commonEntity.OpenClose; this.Lot = commonEntity.Lot; this.AccountCode = commonEntity.AccountCode; this.SetPrice = commonEntity.SetPrice; this.OrderType = commonEntity.OrderType; this.ExecuteTime = commonEntity.ExecuteTime; this.Relation = commonEntity.Relation; this.Dealer = ConsoleClient.Instance.User.UserName; }