/// <summary> /// Adds the result. /// </summary> /// <param name="result">The result.</param> public void AddResult(ResultType result) { if (this.SetValuesResponse == null) this.SetValuesResponse = new SetValuesResponse(); if (this.SetValuesResponse.SetValuesResults == null) this.SetValuesResponse.SetValuesResults = new List<ResultType>(); this.SetValuesResponse.SetValuesResults.Add(result); }
/// <summary> /// Adds the result. /// </summary> /// <param name="result">The result.</param> public void AddResult(ResultType result) { if (this.AcknowledgeAlarmEventsResponse == null) this.AcknowledgeAlarmEventsResponse = new AcknowledgeAlarmEventsResponse(); if (this.AcknowledgeAlarmEventsResponse.AcknowledgeAlarmEventsResults == null) this.AcknowledgeAlarmEventsResponse.AcknowledgeAlarmEventsResults = new List<ResultType>(); this.AcknowledgeAlarmEventsResponse.AcknowledgeAlarmEventsResults.Add(result); }