internal static void ParseForPhysical(PhysicalOrderConstructParams constructParams, IDBRow dataRowOrder, Guid instrumentId, Guid accountId, DateTime?tradeDay)
 {
     DataRowOrderParser.ParseForGeneral(constructParams, dataRowOrder, instrumentId, accountId, tradeDay);
     constructParams.PhysicalSettings = DataRowOrderParser.ParsePhysicalSettings(dataRowOrder);
     if (constructParams.PhysicalSettings.PhysicalType != Protocal.Physical.PhysicalType.FullPayment)
     {
         Logger.InfoFormat("ParseForPhysical orderId={0}", constructParams.Id);
         constructParams.Instalment = DataRowOrderParser.ParseInstalment(dataRowOrder);
     }
 }
 public override void VisitAddGeneralOrderCommand(Commands.AddOrderCommandBase command)
 {
     DataRowOrderParser.ParseForGeneral(command.ConstructParams, ((Commands.AddDataRowOrderCommand)command).DataRow, command.Tran.InstrumentId, command.Tran.AccountId, null);
     this.CreateOrder(command);
 }