private static decimal CURRENT_VERSION(FConnFileFormat Format)
        {
            switch (Format)
            {
            case FConnFileFormat.CHAMPIONSHIP_SOLUTIONS_SINGLE_CHAMPIONSHIP:
                return(3.0M);

            case FConnFileFormat.CHAMPIONSHIP_SOLUTIONS_MULTIPLE_CHAMPIONSHIP:
                return(3.0M);

            case FConnFileFormat.CHAMPIONSHIP_SOLUTIONS_ENTRY_FORM:
                return(3.0M);

            default:
                return(0M);
            }
        }
        public static FConnFileState ResolveFileState(FConnFileFormat FormatCode, byte State)
        {
            if (FormatCode == FConnFileFormat.UNKNOWN)
            {
                return(FConnFileState.UNKNOWN);
            }

            ushort _FConnFileState = 0x0000;

            _FConnFileState |= (byte)FormatCode;
            _FConnFileState  = (byte)(_FConnFileState << 8);
            _FConnFileState |= State;

            if (typeof(FConnFileState).IsEnumDefined(_FConnFileState))
            {
                return((FConnFileState)_FConnFileState);
            }
            else
            {
                return(FConnFileState.UNKNOWN);
            }
        }
 public static int MIN_SUPPORTED_MINOR_VERSION(FConnFileFormat Format)
 {
     return((int)(MIN_SUPPORTED_VERSION(Format) - Math.Truncate(MIN_SUPPORTED_VERSION(Format))));
 }
 public static int CURRENT_MINOR_VERSION(FConnFileFormat Format)
 {
     return((int)(CURRENT_VERSION(Format) - Math.Truncate(CURRENT_VERSION(Format))));
 }