예제 #1
0
        private string GetReductionTypeDisplayName(LightCurveReductionType reductionType, ReductionSubType subType)
        {
            switch (reductionType)
            {
                case LightCurveReductionType.Asteroidal:
                    return "Asteroidal";
                case LightCurveReductionType.MutualEvent:
                {
                    if (subType == ReductionSubType.Eclipse)
                        return "Mutual Eclipse";
                    if (subType == ReductionSubType.Occultation)
                        return "Mutual Occultation";
                    break;
                }
                case LightCurveReductionType.TotalLunarDisappearance:
                    return "Total Lunar (D)";
                case LightCurveReductionType.TotalLunarReppearance:
                    return "Total Lunar (R)";
                case LightCurveReductionType.LunarGrazingOccultation:
                    return "Lunar Graze";
                case LightCurveReductionType.UntrackedMeasurement:
                    return "Untracked";
            }

            return "N/A";
        }
예제 #2
0
        private string GetReductionTypeDisplayName(LightCurveReductionType reductionType, ReductionSubType subType)
        {
            switch (reductionType)
            {
            case LightCurveReductionType.Asteroidal:
                return("Asteroidal");

            case LightCurveReductionType.MutualEvent:
            {
                if (subType == ReductionSubType.Eclipse)
                {
                    return("Mutual Eclipse");
                }
                if (subType == ReductionSubType.Occultation)
                {
                    return("Mutual Occultation");
                }
                break;
            }

            case LightCurveReductionType.TotalLunarDisappearance:
                return("Total Lunar (D)");

            case LightCurveReductionType.TotalLunarReppearance:
                return("Total Lunar (R)");

            case LightCurveReductionType.LunarGrazingOccultation:
                return("Lunar Graze");

            case LightCurveReductionType.UntrackedMeasurement:
                return("Untracked");
            }

            return("N/A");
        }