Skip to content

Commit dc96052

Browse files
committed
Latest changes done by Ron Crouch by forcigng shutter interraction to true.
Added the installer file too.
1 parent d851969 commit dc96052

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
482 KB
Binary file not shown.

NexDome_ASCOM/Driver.cs

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ private void OnSerialTimer(object source, EventArgs e)
517517
string message = "", command = "", value = "";
518518
int localInt;
519519

520-
tl.LogMessage("connected", connectedState.ToString());
520+
//tl.LogMessage("connected", connectedState.ToString());
521521

522522
if (!connectedState)
523523
return;
@@ -1412,7 +1412,7 @@ internal void ReadProfile()
14121412
canSetAltitude = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetAltitude", "Cans", "false"));
14131413
canSetAzimuth = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetAzimuth", "Cans", "true"));
14141414
canSetPark = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetPark", "Cans", "true"));
1415-
canSetShutter = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetShutter", "Cans", "false"));
1415+
canSetShutter = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetShutter", "Cans", "true"));
14161416
canSyncAzimuth = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSyncAzimuth", "Cans", "true"));
14171417
}
14181418
}

NexDome_ASCOM/NexDome Setup.iss

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ var
7373
begin
7474
Result := 0.0; // Initialise the return value in case we can't read the registry
7575
try
76-
if RegQueryStringValue(HKEY_LOCAL_MACHINE_32, 'Software\ASCOM','PlatformVersion', PlatVerString) then
76+
if RegQueryStringValue(HKEY_LOCAL_MACHINE_32, 'Software\ASCOM','PlatformVersion', PlatVerString) then
7777
begin // Successfully read the value from the registry
7878
Result := StrToFloat(PlatVerString); // Create a double from the X.Y Platform version string
7979
end;
80-
except
80+
except
8181
ShowExceptionMessage;
8282
Result:= -1.0; // Indicate in the return value that an exception was generated
8383
end;
@@ -97,7 +97,7 @@ var
9797
else
9898
if PlatformVersionNumber = 0.0 then
9999
MsgBox('No ASCOM Platform is installed. Please install Platform ' + Format('%3.1f', [REQUIRED_PLATFORM_VERSION]) + ' or later from http://www.ascom-standards.org', mbCriticalError, MB_OK)
100-
else
100+
else
101101
MsgBox('ASCOM Platform ' + Format('%3.1f', [REQUIRED_PLATFORM_VERSION]) + ' or later is required, but Platform '+ Format('%3.1f', [PlatformVersionNumber]) + ' is installed. Please install the latest Platform before continuing; you will find it at http://www.ascom-standards.org', mbCriticalError, MB_OK);
102102
end;
103103

0 commit comments

Comments
 (0)