Ejemplo n.º 1
0
 public OrderXml(DGobject dg)
 {
     DG = new DGobject();
     DG = dg;
     _order = new Order();
     DG.OrderTable = ComReader.GetOrderTable(DG);
 }
        private string _lineTag = "1"; //заносим номер строки из файла заказа

        #endregion Fields

        #region Constructors

        public FrmOrders(DGobject dg)
            : base(dg.Device)
        {
            DG = new DGobject();
            DG = dg;
            DG.FrmOrders = this;
            _order = new Order();
            Theme = "custom";
        }
Ejemplo n.º 3
0
 public OrderXml(DGobject dg)
 {
     //DG = new DGobject();
     DG = dg;
     _order = new Order();
     var orderTable = ComReader.GetOrderTable(DG);
     try
     {
         DG.OrderTable = XElement.Parse(orderTable);
     }
     catch (Exception)
     {
     }
 }