/// <summary> /// 통합경보게이트웨이 접속 정보 갱신 /// </summary> /// <param name="newData">새 설정 정보</param> public void SaveConfigInfo(ConfigIAGWData newData) { WriteKeyValueToIAGW(this.IAGW_AUTHCODE, newData.AuthCode); WriteKeyValueToIAGW(this.IAGW_IP, newData.ServerIP); WriteKeyValueToIAGW(this.IAGW_PORT, newData.ServerPort); WriteKeyValueToIAGW(this.IAGW_AUTOCONN, string.Format("{0}", Convert.ToInt32(newData.UseAutoConnection))); this.configData.IAGW.AuthCode = newData.AuthCode; this.configData.IAGW.ServerIP = newData.ServerIP; this.configData.IAGW.ServerPort = newData.ServerPort; this.configData.IAGW.UseAutoConnection = newData.UseAutoConnection; }
/// <param name="newInfo">통합경보게이트웨이 접속 정보</param> /// <returns></returns> public void SetConnectionInfo(ConfigIAGWData newInfo) { this.sessionManager.SetConnectionInfo(newInfo.ServerIP, newInfo.ServerPort); }