示例#1
0
        ///<summary>
        /// Retrieves the Type field
        /// Comment: Tornado, Severe Thunderstorm, etc.</summary>
        /// <returns>Returns nullable WeatherSevereType enum representing the Type field</returns>
        new public WeatherSevereType?GetType()
        {
            object            obj   = GetFieldValue(4, 0, Fit.SubfieldIndexMainField);
            WeatherSevereType?value = obj == null ? (WeatherSevereType?)null : (WeatherSevereType)obj;

            return(value);
        }
示例#2
0
 /// <summary>
 /// Set Type field
 /// Comment: Tornado, Severe Thunderstorm, etc.</summary>
 /// <param name="type_">Nullable field value to be set</param>
 public void SetType(WeatherSevereType?type_)
 {
     SetFieldValue(4, 0, type_, Fit.SubfieldIndexMainField);
 }