Esempio n. 1
0
 public DataBuffer(string id,DSClass parent)
 {
     this.id = id;
     this.parent = parent;
     this.buffer = new ArrayList();
       //  this.logDataBuffer = new LogDataBuffer(parent);
     this.db = new DataBase(this);
     this.tables = new Hashtable();
 }
Esempio n. 2
0
        private object xQueueNotifyLock = new object(); // обьект для блокировки очереди поступивших сигналов

        #endregion Fields

        #region Constructors

        public OrdersThread(DSClass parentDS,MainForm parent)
        {
            this.parent = parent;
            this.parentDS = parentDS;

            pgConNotify = new NpgsqlConnection(this.parent.strConn);
            pgConSelect = new NpgsqlConnection(this.parent.strConn);
            pgConUpdate = new NpgsqlConnection(this.parent.strConn);

            this.queueMsg = new OrderedDictionary();
            this.queueNotify = new Hashtable();
            this.queueMsgHist = new OrderedDictionary();

            pgConNotify.Notification += new NotificationEventHandler(conNotify);
            this.mSpotOrders = new Orders.spotOrders(this);
        }
Esempio n. 3
0
 public LogDataBuffer(DSClass parent)
 {
     this.parent = parent;
 }