Пример #1
0
        public override void GetEquipment()
        {
            Devices.Clear();

            Devices.Add(new DummyDevice(Locale.Loc.Instance["LblNoTelescope"]));

            try {
                foreach (ITelescope telescope in ASCOMInteraction.GetTelescopes(profileService))
                {
                    Devices.Add(telescope);
                }
            } catch (Exception ex) {
                Logger.Error(ex);
            }

            DetermineSelectedDevice(profileService.ActiveProfile.TelescopeSettings.Id);
        }