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();
 }
        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);
        }
 public LogDataBuffer(DSClass parent)
 {
     this.parent = parent;
 }