///<summary>
        /// Retrieves the LengthType field</summary>
        /// <returns>Returns nullable LengthType enum representing the LengthType field</returns>
        public LengthType?GetLengthType()
        {
            object     obj   = GetFieldValue(12, 0, Fit.SubfieldIndexMainField);
            LengthType?value = obj == null ? (LengthType?)null : (LengthType)obj;

            return(value);
        }
 /// <summary>
 /// Set LengthType field</summary>
 /// <param name="lengthType_">Nullable field value to be set</param>
 public void SetLengthType(LengthType?lengthType_)
 {
     SetFieldValue(12, 0, lengthType_, Fit.SubfieldIndexMainField);
 }
 public int ConvertUnit(LengthType?unit = LengthType.Yards)
 {
     return(0);
 }