File tree Expand file tree Collapse file tree 4 files changed +104
-186
lines changed
ASCOM.Alpaca.Simulators/Pages Expand file tree Collapse file tree 4 files changed +104
-186
lines changed Original file line number Diff line number Diff line change 1313 else
1414 {
1515 <fieldset >
16- <legend >SafetyMonitor Settings </legend >
16+ <legend >SafetyMonitor @InstanceID Settings </legend >
1717 <div class =" grid-container-two" >
1818 <div class =" grid-item-left" >
1919 <svg width =" 30" height =" 30" >
2222 <button @onclick =" Connect" >@ConnectText </button >
2323 </div >
2424 <div class =" grid-item-right" >
25+ <ErrorBoundary >
26+ <LogLevelControl Driver =" @(Device as OmniSim.BaseDriver.Driver)" />
27+ </ErrorBoundary >
2528 </div >
2629 </div >
2730
155158 }
156159 set
157160 {
158- Device .SetIsSafeProfile (value );
161+ Device .IsSafeSetting .Value = value ;
162+ Device .SaveProfileSettings ();
159163 }
160164 }
161165
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ namespace ASCOM.Simulators
1111 using ASCOM . Common . DeviceInterfaces ;
1212 using ASCOM . Common . Interfaces ;
1313 using OmniSim . BaseDriver ;
14- using static System . Runtime . InteropServices . JavaScript . JSType ;
1514
1615 /// <summary>
1716 /// Motor states.
You can’t perform that action at this time.
0 commit comments