///<summary> /// Retrieves the Severity field /// Comment: Warning, Watch, Advisory, Statement</summary> /// <returns>Returns nullable WeatherSeverity enum representing the Severity field</returns> public WeatherSeverity?GetSeverity() { object obj = GetFieldValue(3, 0, Fit.SubfieldIndexMainField); WeatherSeverity?value = obj == null ? (WeatherSeverity?)null : (WeatherSeverity)obj; return(value); }
/// <summary> /// Set Severity field /// Comment: Warning, Watch, Advisory, Statement</summary> /// <param name="severity_">Nullable field value to be set</param> public void SetSeverity(WeatherSeverity?severity_) { SetFieldValue(3, 0, severity_, Fit.SubfieldIndexMainField); }