public RevisionHash(MainForm parent) { this.LoadRevision(); this.parent = parent; }
public BaseStreams(MainForm parent) { this.parent = parent; mRevHash = new RevisionHash(); }
private object xQueueNotifyLock = new object(); // обьект для блокировки очереди поступивших сигналов #endregion Fields #region Constructors public OrdersThread(BaseStream bs,string host,uint port,string pass,string pgConStr,string shemeIni) { this.bs = bs; this.parent = bs.parent; this.m_Host = host; this.m_Port = port; this.m_Pass = pass; m_msgFactory = new CP2BLMessageFactory(); m_msgFactory.Init(shemeIni,""); pgConNotify = new NpgsqlConnection(pgConStr); pgConSelect = new NpgsqlConnection(pgConStr); pgConUpdate = new NpgsqlConnection(pgConStr); this.queueMsg = new OrderedDictionary(); this.queueNotify = new Hashtable(); this.queueMsgHist = new OrderedDictionary(); pgConNotify.Notification += new NotificationEventHandler(conNotify); pgConNotify.StateChange += new System.Data.StateChangeEventHandler(this.conStateChanged); this.mFutOrders = new Orders.futOrders(this); this.mFutChangeClientMoney = new Orders.changeClientMoney(this); this.mOptOrders = new Orders.optOrders(this); this.mOptChangeExp = new Orders.optChangeExpiration(this); }
public LogExecutionTimeout(MainForm parent, string logPath) { this.parent = parent; this.logPath = logPath+"/Stat/"; }
public BasePing(MainForm parent,string pgConStr) { this.parent = parent; this.pgConStr = pgConStr; pgCon = new NpgsqlConnection(pgConStr + ";Timeout=5;CommandTimeout=3;"); }