Skip to content

Commit b17c0e7

Browse files
Minor cleanup of filter wheel
1 parent 91b6d49 commit b17c0e7

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

FilterWheelSimulator/FilterWheel.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -216,16 +216,5 @@ public string[] Names
216216
public void SetupDialog()
217217
{
218218
}
219-
220-
// ---------------------------------------------------------------------
221-
//
222-
// check_connected() - Raise an error if the focuser is not connected
223-
//
224-
// ---------------------------------------------------------------------
225-
private void check_connected()
226-
{
227-
if (!FilterWheelHardware.Connected)
228-
throw new NotConnectedException(MSG_NOT_CONNECTED);
229-
}
230219
}
231220
}

FilterWheelSimulator/FilterWheelHardware.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,6 @@ public static void Initialize()
119119
LoadSettings();
120120
}
121121

122-
public static void Finalize_() // "Finalize" exists in parent
123-
{
124-
//Profile.WriteValue(s_sProgID, "Position", s_fPosition.ToString(), "");
125-
//Profile.WriteValue(s_sProgID, "RotationRate", RotationRate.ToString(), "");
126-
//Profile.WriteValue(s_sProgID, "CanReverse", s_bCanReverse.ToString(), "");
127-
//Profile.WriteValue(s_sProgID, "Reverse", s_bReverse.ToString(), "");
128-
}
129-
130122
public static bool Connected
131123
{
132124
get

0 commit comments

Comments
 (0)