public RelayService(string _dbserver, string _pbxip, int _pbxport, RunningType _runtype) { this.ReadIni(); this.DBServer = _dbserver; this.PBXip = _pbxip; this.PBXport = _pbxport; this.RunType = _runtype; h2 = new HotelHelper2(PBXip, PBXport); h2.PassDevice2PmsEvent += H2_PassDevice2PmsEvent; //CheckRoonetsDB(); if (RunType == RunningType.BOTH || RunType == RunningType.ROONETS) { InitTimer(); } }
public RelayService(string _dbserver, string _pbxip, int _pbxport, RunningType _runtype) { this.ReadIni(); this.DBServer = _dbserver; this.PBXip = _pbxip; this.PBXport = _pbxport; this.RunType = _runtype; h2 = new HotelHelper2(PBXip, PBXport); h2.PassDevice2PmsEvent += H2_PassDevice2PmsEvent; //CheckRoonetsDB(); if (RunType == RunningType.BOTH || RunType == RunningType.ROONETS) InitTimer(); }