Example #1
0
 public OrderFillTransaction(TransactionID transactionID, DateTime time, int userID, AccountID accountID, TransactionID batchID, RequestID requestID, TransactionType type, OrderID orderID, ClientID clientOrderID, InstrumentName instrument, double units, double gainQuoteHomeConversionFactor, double lossQuoteHomeConversionFactor, ClientPrice fullPrice, OrderFillReason reason, AccountUnits pL, AccountUnits financing, AccountUnits commission, AccountUnits guaranteedExecutionFee, AccountUnits accountBalance, TradeOpen tradeOpened, List <TradeReduce> tradesClosed, TradeReduce tradeReduced, AccountUnits halfSpreadCost)
 {
     this.TransactionID = transactionID;
     this.Time          = time;
     this.UserID        = userID;
     this.AccountID     = accountID;
     this.BatchID       = batchID;
     this.RequestID     = requestID;
     this.Type          = type;
     this.OrderID       = orderID;
     this.ClientOrderID = clientOrderID;
     this.Instrument    = instrument;
     this.Units         = units;
     this.GainQuoteHomeConversionFactor = gainQuoteHomeConversionFactor;
     this.LossQuoteHomeConversionFactor = lossQuoteHomeConversionFactor;
     this.FullPrice              = fullPrice;
     this.Reason                 = reason;
     this.PL                     = pL;
     this.Financing              = financing;
     this.Commission             = commission;
     this.GuaranteedExecutionFee = guaranteedExecutionFee;
     this.AccountBalance         = accountBalance;
     this.TradeOpened            = tradeOpened;
     this.TradesClosed           = tradesClosed;
     this.TradeReduced           = tradeReduced;
     this.HalfSpreadCost         = halfSpreadCost;
 }
Example #2
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            List <OrderItem> orderItems = new List <OrderItem>();

            for (int i = 0; i < checkedListBox.Items.Count; i++)
            {
                if (checkedListBox.GetItemChecked(i))
                {
                    string itemid =
                        checkedListBox.GetItemText(checkedListBox.Items[i]);
                    int    count     = 0;
                    double UnitPrice = Product.namePrice[itemid];
                    switch (itemid)
                    {
                    case "鞋子": count = int.Parse(textBox1.Text); break;

                    case "裤子": count = int.Parse(textBox2.Text); break;

                    case "衣服": count = int.Parse(textBox3.Text); break;

                    case "手表": count = int.Parse(textBox4.Text); break;

                    case "帽子": count = int.Parse(textBox5.Text); break;
                    }
                    OrderItem orderItem = new OrderItem(itemid, count, UnitPrice);
                    orderItems.Add(orderItem);
                }
            }
            orderN = new Order(OrderID.OrderId(), textBox_name.Text, orderItems);
            Form1.orderservice.AddOrder(orderN);
            MessageBox.Show($"添加{textBox_name.Text}的订单成功!");
        }
Example #3
0
        public override int GetHashCode()
        {
            int hashCode = 0;

            hashCode = hashCode ^ OrderID.GetHashCode() ^ ProductID.GetHashCode();
            return(hashCode);
        }
Example #4
0
 public StopLossOrder(OrderID id, DateTime createTime, OrderState state, ClientExtensions clientExtensions, OrderType type, double guaranteedExecutionPremium, TradeID tradeID, ClientID clientTradeID, PriceValue price, double distance, TimeInForce timeInForce, DateTime gtdTime, OrderTriggerCondition triggerCondition, bool guaranteed, TransactionID fillingTransactionID, DateTime filledTime, TradeID tradeOpenedID, TradeID tradeReducedID, List <TradeID> tradeClosedIDs, TransactionID cancellingTransactionID, DateTime cancelledTime, OrderID replacesOrderID, OrderID replacedByOrderID)
 {
     this.Id                         = id;
     this.CreateTime                 = createTime;
     this.State                      = state;
     this.ClientExtensions           = clientExtensions;
     this.Type                       = type;
     this.GuaranteedExecutionPremium = guaranteedExecutionPremium;
     this.TradeID                    = tradeID;
     this.ClientTradeID              = clientTradeID;
     this.Price                      = price;
     this.Distance                   = distance;
     this.TimeInForce                = timeInForce;
     this.GtdTime                    = gtdTime;
     this.TriggerCondition           = triggerCondition;
     this.Guaranteed                 = guaranteed;
     this.FillingTransactionID       = fillingTransactionID;
     this.FilledTime                 = filledTime;
     this.TradeOpenedID              = tradeOpenedID;
     this.TradeReducedID             = tradeReducedID;
     this.TradeClosedIDs             = tradeClosedIDs;
     this.CancellingTransactionID    = cancellingTransactionID;
     this.CancelledTime              = cancelledTime;
     this.ReplacesOrderID            = replacesOrderID;
     this.ReplacedByOrderID          = replacedByOrderID;
 }
        public static void ReplaceOrder(OrderID orderID, ClOrdID clOrdID, decimal price, OrdType ordType, TimeInForce timeInForce, Symbol symbol,
                                        OrderQty orderQty, Side side, ExpireTime expireTime, Account account, decimal?slippage)
        {
            QuickFix44.OrderCancelReplaceRequest message = new QuickFix44.OrderCancelReplaceRequest(
                new OrigClOrdID(clOrdID.getValue()),
                clOrdID,
                side,
                new TransactTime(DateTime.UtcNow),
                ordType);

            message.set(orderID);
            message.set(new Price((double)price));
            message.set(timeInForce);
            message.set(symbol);
            message.set(orderQty);

            if (expireTime != null)
            {
                message.set(expireTime);
            }
            if (account != null)
            {
                message.set(account);
            }
            if (slippage.HasValue)
            {
                message.setDouble(7011, (double)slippage.Value);
            }

            Credential dukascopyCredential = CredentialFactory.GetCredential(Counterpart.Dukascopy);

            Session.sendToTarget(message, dukascopyCredential.TradingSenderCompID, dukascopyCredential.TradingTargetCompID);
        }
Example #6
0
 public Order(OrderID id, DateTime createTime, OrderState state, ClientExtensions clientExtensions)
 {
     this.Id               = id;
     this.CreateTime       = createTime;
     this.State            = state;
     this.ClientExtensions = clientExtensions;
 }
Example #7
0
 public StopOrder()
 {
     this.Id                      = new OrderID();
     this.CreateTime              = new DateTime();
     this.State                   = new OrderState();
     this.ClientExtensions        = new ClientExtensions();
     this.Type                    = new OrderType(EOrderType.STOP);
     this.Instrument              = new InstrumentName();
     this.Price                   = new PriceValue();
     this.PriceBound              = new PriceValue();
     this.TimeInForce             = new TimeInForce(ETimeInForce.GTC);
     this.GtdTime                 = new DateTime();
     this.PositionFill            = new OrderPositionFill(EOrderPositionFill.DEFAULT);
     this.TriggerCondition        = new OrderTriggerCondition(EOrderTriggerCondition.DEFAULT);
     this.TakeProfitOnFill        = new TakeProfitDetails();
     this.StopLossOnFill          = new StopLossDetails();
     this.TrailingStopLossOnFill  = new TrailingStopLossDetails();
     this.TradeClientExtensions   = new ClientExtensions();
     this.FillingTransactionID    = new TransactionID();
     this.FilledTime              = new DateTime();
     this.TradeOpenedID           = new TradeID();
     this.TradeReducedID          = new TradeID();
     this.TradeClosedIDs          = new List <TradeID>();
     this.CancellingTransactionID = new TransactionID();
     this.CancelledTime           = new DateTime();
     this.ReplacesOrderID         = new OrderID();
     this.ReplacedByOrderID       = new OrderID();
 }
Example #8
0
 public Order()
 {
     this.Id               = new OrderID();
     this.CreateTime       = new DateTime();
     this.State            = new OrderState();
     this.ClientExtensions = new ClientExtensions();
 }
Example #9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (OrderID.Length != 0)
            {
                hash ^= OrderID.GetHashCode();
            }
            if (CreatedOn != 0UL)
            {
                hash ^= CreatedOn.GetHashCode();
            }
            if (UserID.Length != 0)
            {
                hash ^= UserID.GetHashCode();
            }
            if (TaxRate != 0)
            {
                hash ^= TaxRate.GetHashCode();
            }
            if (shippingInfo_ != null)
            {
                hash ^= ShippingInfo.GetHashCode();
            }
            hash ^= lineItems_.GetHashCode();
            return(hash);
        }
Example #10
0
 public MarketOrder()
 {
     this.Id                      = new OrderID();
     this.CreateTime              = new DateTime();
     this.State                   = new OrderState();
     this.ClientExtensions        = new ClientExtensions();
     this.Type                    = new OrderType(EOrderType.MARKET);
     this.Instrument              = new InstrumentName();
     this.TimeInForce             = new TimeInForce(ETimeInForce.FOK);
     this.PriceBound              = new PriceValue();
     this.PositionFill            = new OrderPositionFill(EOrderPositionFill.DEFAULT);
     this.TradeClose              = new MarketOrderTradeClose();
     this.LongPositionCloseout    = new MarketOrderPositionCloseout();
     this.ShortPositionCloseout   = new MarketOrderPositionCloseout();
     this.MarginCloseout          = new MarketOrderMarginCloseout();
     this.DelayedTradeClose       = new MarketOrderDelayedTradeClose();
     this.TakeProfitOnFill        = new TakeProfitDetails();
     this.StopLossOnFill          = new StopLossDetails();
     this.TrailingStopLossOnFill  = new TrailingStopLossDetails();
     this.TradeClientExtensions   = new ClientExtensions();
     this.FillingTransactionID    = new TransactionID();
     this.FilledTime              = new DateTime();
     this.TradeOpenedID           = new TradeID();
     this.TradeReducedID          = new TradeID();
     this.TradeClosedIDs          = new List <TradeID>();
     this.CancellingTransactionID = new TransactionID();
     this.CancelledTime           = new DateTime();
 }
Example #11
0
 public MarketOrder(OrderID id, DateTime createTime, OrderState state, ClientExtensions clientExtensions, OrderType type, InstrumentName instrument, double units, TimeInForce timeInForce, PriceValue priceBound, OrderPositionFill positionFill, MarketOrderTradeClose tradeClose, MarketOrderPositionCloseout longPositionCloseout, MarketOrderPositionCloseout shortPositionCloseout, MarketOrderMarginCloseout marginCloseout, MarketOrderDelayedTradeClose delayedTradeClose, TakeProfitDetails takeProfitOnFill, StopLossDetails stopLossOnFill, TrailingStopLossDetails trailingStopLossOnFill, ClientExtensions tradeClientExtensions, TransactionID fillingTransactionID, DateTime filledTime, TradeID tradeOpenedID, TradeID tradeReducedID, List <TradeID> tradeClosedIDs, TransactionID cancellingTransactionID, DateTime cancelledTime)
 {
     this.Id                      = id;
     this.CreateTime              = createTime;
     this.State                   = state;
     this.ClientExtensions        = clientExtensions;
     this.Type                    = type;
     this.Instrument              = instrument;
     this.Units                   = units;
     this.TimeInForce             = timeInForce;
     this.PriceBound              = priceBound;
     this.PositionFill            = positionFill;
     this.TradeClose              = tradeClose;
     this.LongPositionCloseout    = longPositionCloseout;
     this.ShortPositionCloseout   = shortPositionCloseout;
     this.MarginCloseout          = marginCloseout;
     this.DelayedTradeClose       = delayedTradeClose;
     this.TakeProfitOnFill        = takeProfitOnFill;
     this.StopLossOnFill          = stopLossOnFill;
     this.TrailingStopLossOnFill  = trailingStopLossOnFill;
     this.TradeClientExtensions   = tradeClientExtensions;
     this.FillingTransactionID    = fillingTransactionID;
     this.FilledTime              = filledTime;
     this.TradeOpenedID           = tradeOpenedID;
     this.TradeReducedID          = tradeReducedID;
     this.TradeClosedIDs          = tradeClosedIDs;
     this.CancellingTransactionID = cancellingTransactionID;
     this.CancelledTime           = cancelledTime;
 }
Example #12
0
    Int32 DisplayOrder(string ItemTypeFilter)
    {
        Int32              OrderID;  //var to store the primary key
        string             ItemName; //var to store the item name
        string             ItemType; // var to store the ItemType
        clsOrderCollection MyOrderCollection = new clsOrderCollection();

        //create an instance of the Order collection class
        MyOrderCollection.ReportByItemType(ItemTypeFilter);
        //create an instance of the Order collection class
        Int32 RecordCount;                                          //var to store the count of records
        Int32 Index = 0;                                            //var to store the index for the loop

        RecordCount = MyOrderCollection.Count;                      //get the count of records
        lstOrder.Items.Clear();                                     //clear the list box
        while (Index < RecordCount)                                 //while there are records to process
        {
            OrderID  = MyOrderCollection.OrderList[Index].OrderID;  //get the primary key
            ItemName = MyOrderCollection.OrderList[Index].ItemName; // get the ItemName
            ItemType = MyOrderCollection.OrderList[Index].ItemType; //get the ItemType
            //create a new entry for the list box
            ListItem NewEntry = new ListItem(ItemName + "  ,   " + ItemType, OrderID.ToString());
            lstOrder.Items.Add(NewEntry); //add the Order to the list
            Index++;                      //move the index to the next record
        }
        return(RecordCount);              // return the count of records found
    }
Example #13
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (packetID_ != null)
            {
                hash ^= PacketID.GetHashCode();
            }
            if (header_ != null)
            {
                hash ^= Header.GetHashCode();
            }
            if (OrderID != 0UL)
            {
                hash ^= OrderID.GetHashCode();
            }
            if (ReconfirmReason != 0)
            {
                hash ^= ReconfirmReason.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (OrderID != 0)
            {
                hash ^= OrderID.GetHashCode();
            }
            if (ProductID != 0)
            {
                hash ^= ProductID.GetHashCode();
            }
            if (UnitPrice != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(UnitPrice);
            }
            if (Quantity != 0)
            {
                hash ^= Quantity.GetHashCode();
            }
            if (Discount != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Discount);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 private void Delete_Click(object sender, EventArgs e)
 {
     try
     {
         Connect connectObj = new Connect();
         con = connectObj.connect();
         SqlCommand cmd = new SqlCommand("DELETE FROM MYORDER WHERE ORD_ID = @oid", con);
         cmd.Parameters.AddWithValue("@oid", OrderID.Text);
         int i = cmd.ExecuteNonQuery();
         con.Close();
         //If count is equal to 1, than show frmMain form
         if (i != 0)
         {
             MessageBox.Show("Order Deletion Successful!", "Captions", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
         else
         {
             MessageBox.Show("Order Deletion Failed", "Captions", MessageBoxButtons.OK, MessageBoxIcon.Error);
         }
         OrderID.Clear();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Captions", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     finally
     {
         if (con != null)
         {
             con.Close();
         }
     }
 }
Example #16
0
 public override string ToString()
 {
     return("订单ID:" + OrderID.ToString()
            + "\t" + cusName
            + "\t" + "商品数目:" + num
            + "\t" + "总价:" + moneySum);
 }
Example #17
0
        public static int GetOrderId()
        {
            var id = OrderID.order_id;

            OrderID.IncrementOrderId();
            return(id);
        }
Example #18
0
 public StopOrder(OrderID id, DateTime createTime, OrderState state, ClientExtensions clientExtensions, OrderType type, InstrumentName instrument, double units, PriceValue price, PriceValue priceBound, TimeInForce timeInForce, DateTime gtdTime, OrderPositionFill positionFill, OrderTriggerCondition triggerCondition, TakeProfitDetails takeProfitOnFill, StopLossDetails stopLossOnFill, TrailingStopLossDetails trailingStopLossOnFill, ClientExtensions tradeClientExtensions, TransactionID fillingTransactionID, DateTime filledTime, TradeID tradeOpenedID, TradeID tradeReducedID, List <TradeID> tradeClosedIDs, TransactionID cancellingTransactionID, DateTime cancelledTime, OrderID replacesOrderID, OrderID replacedByOrderID)
 {
     this.Id                      = id;
     this.CreateTime              = createTime;
     this.State                   = state;
     this.ClientExtensions        = clientExtensions;
     this.Type                    = type;
     this.Instrument              = instrument;
     this.Units                   = units;
     this.Price                   = price;
     this.PriceBound              = priceBound;
     this.TimeInForce             = timeInForce;
     this.GtdTime                 = gtdTime;
     this.PositionFill            = positionFill;
     this.TriggerCondition        = triggerCondition;
     this.TakeProfitOnFill        = takeProfitOnFill;
     this.StopLossOnFill          = stopLossOnFill;
     this.TrailingStopLossOnFill  = trailingStopLossOnFill;
     this.TradeClientExtensions   = tradeClientExtensions;
     this.FillingTransactionID    = fillingTransactionID;
     this.FilledTime              = filledTime;
     this.TradeOpenedID           = tradeOpenedID;
     this.TradeReducedID          = tradeReducedID;
     this.TradeClosedIDs          = tradeClosedIDs;
     this.CancellingTransactionID = cancellingTransactionID;
     this.CancelledTime           = cancelledTime;
     this.ReplacesOrderID         = replacesOrderID;
     this.ReplacedByOrderID       = replacedByOrderID;
 }
Example #19
0
 public StopOrderTransaction(TransactionID id, DateTime time, int userID, AccountID accountID, TransactionID batchID, RequestID requestID, TransactionType type, InstrumentName instrument, double units, PriceValue price, PriceValue priceBound, TimeInForce timeInForce, DateTime gTDTime, OrderPositionFill positionFill, OrderTriggerCondition triggerCondition, StopOrderReason reason, ClientExtensions clientExtensions, TakeProfitDetails takeProfitOnFill, StopLossDetails stopLossOnFill, TrailingStopLossDetails trailingStopLossOnFill, ClientExtensions tradeClientExtensions, OrderID replacesOrderID, TransactionID cancellingTransactionID)
 {
     this.Id                      = id;
     this.Time                    = time;
     this.UserID                  = userID;
     this.AccountID               = accountID;
     this.BatchID                 = batchID;
     this.RequestID               = requestID;
     this.Type                    = type;
     this.Instrument              = instrument;
     this.Units                   = units;
     this.Price                   = price;
     this.PriceBound              = priceBound;
     this.TimeInForce             = timeInForce;
     this.GTDTime                 = gTDTime;
     this.PositionFill            = positionFill;
     this.TriggerCondition        = triggerCondition;
     this.Reason                  = reason;
     this.ClientExtensions        = clientExtensions;
     this.TakeProfitOnFill        = takeProfitOnFill;
     this.StopLossOnFill          = stopLossOnFill;
     this.TrailingStopLossOnFill  = trailingStopLossOnFill;
     this.TradeClientExtensions   = tradeClientExtensions;
     this.ReplacesOrderID         = replacesOrderID;
     this.CancellingTransactionID = cancellingTransactionID;
 }
Example #20
0
 public override int GetHashCode()
 {
     var hashCode = -1758130255;
     hashCode = hashCode * -1521134295 + OrderID.GetHashCode();
     hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(ClientName);
     hashCode = hashCode * -1521134295 + EqualityComparer<List<OrderItem>>.Default.GetHashCode(itemList);
     return hashCode;
 }
        public override int GetHashCode()
        {
            int hashCode = 13;

            hashCode = (hashCode * 7) + OrderID.GetHashCode();
            hashCode = (hashCode * 7) + ProductID.GetHashCode();
            return(hashCode);
        }
        public async Task <OrderID> RegisteredOrder(RegistrationForm registrationForm)
        {
            string urlRegistered = "payment/rest/register.do";

            OrderID orderId = JsonSerializer.Deserialize <OrderID>(await GetInformationFromSever(registrationForm, urlRegistered));

            return(orderId);
        }
Example #23
0
        public override int GetHashCode()
        {
            var hashCode = 1903320604;

            hashCode = hashCode * -1521134295 + OrderID.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Customername);

            return(hashCode);
        }
Example #24
0
        public void addProduct(Product p)   //向订单中添加产品详情
        {
            ProductDetail detail_current = new ProductDetail(p.Price, p.Description);

            detail_list.Add(detail_current);

            TotalAmount += float.Parse(p.Price);
            OrderID.Append(p.PID).Append(DateTime.Now.Hour).Append(DateTime.Now.Minute).Append(DateTime.Now.Second); //生成订单id
        }
        public override int GetHashCode()
        {
            int hashCode = -1363627399;

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ProductName);

            hashCode = hashCode * -1521134295 + OrderID.GetHashCode();
            return(hashCode);
        }
Example #26
0
    protected void BindData()
    {
        string chkFlag = "";

        try
        {
            if (Request.Form["hdnPrPriceId"] != null)
            {
                SqlParameter[] paras = new SqlParameter[6];
                paras[0] = new SqlParameter("@ProdPriceId", Request.Form["hdnPrPriceId"].ToString());
                if (UserInfo.GetUserInfo() != null)
                {
                    paras[1] = new SqlParameter("@UserId", UserInfo.GetUserInfo().userId);
                }
                else
                {
                    paras[1] = new SqlParameter("@UserId", "1");
                }
                paras[2] = new SqlParameter("@FunType", hdnActionType.Value == "" ? "I" : hdnActionType.Value);
                if (!String.IsNullOrEmpty(OrderId))
                {
                    paras[3] = new SqlParameter("@OrderHeaderId", OrderId);
                }
                else
                {
                    paras[3] = new SqlParameter("@OrderHeaderId", "0");
                }
                paras[4] = new SqlParameter("@msgOut", SqlDbType.VarChar, 10000);

                if (!String.IsNullOrEmpty(AffiliateID))
                {
                    paras[5] = new SqlParameter("@AffiliatId", Convert.ToInt64(AffiliateID));
                }
                else
                {
                    paras[5] = new SqlParameter("@AffiliatId", 0);
                }

                chkFlag = objDataAccess.ExecSPWithOutPutPara("Cart_IUD", paras, 4, System.Data.CommandType.StoredProcedure);

                if (!String.IsNullOrEmpty(chkFlag))
                {
                    OrderId = chkFlag.Split('|')[1].ToString();
                }
                //This to remove affiliate Id
                OrderID.RemoveAffId();
            }



            BindCartGrid();
        }
        catch (Exception)
        {
        }
    }
Example #27
0
        public override int GetHashCode()
        {
            int hashcode = 0;

            unchecked {
                hashcode = (hashcode * 397) ^ (!__isset.OrderID ? 0 : (OrderID.GetHashCode()));
                hashcode = (hashcode * 397) ^ (!__isset.OrderPosition ? 0 : (OrderPosition.GetHashCode()));
            }
            return(hashcode);
        }
Example #28
0
        public int CompareTo(object obj)
        {
            if (obj == null)
            {
                return(1);
            }
            var otherOrder = obj as Order;

            return(OrderID.CompareTo(otherOrder.OrderID));
        }
Example #29
0
        public override int GetHashCode()
        {
            int hashCode = 1634732298;

            hashCode = hashCode * -1521134295 + EqualityComparer <Client> .Default.GetHashCode(Purchaser);

            hashCode = hashCode * -1521134295 + OrderID.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <List <OrderDetail> > .Default.GetHashCode(Details);

            return(hashCode);
        }
Example #30
0
    protected void Page_Load(object sender, EventArgs e)
    {
        //Added By Evgeni
        lblOrderConfirmation.Text = lblOrderConfirmation.Text.Replace("№", "№ " + OrderID.ToString());

        if (IsPostBack)
        {
            return;
        }
        BindData();
    }
Example #31
0
 public Order(Int16 stationId, Int16 stationHeadId, OrderID orderId)
 {
     this.stationID = stationId;
     this.stationHeadID = stationHeadId;
     this.orderID = orderId;
 }
Example #32
0
 public Order(OrderID orderId)
 {
     this.orderID = orderId;
 }