Skip to content

Commit

Permalink
Latest changes done by Ron Crouch by forcigng shutter interraction to…
Browse files Browse the repository at this point in the history
… true.

Added the installer file too.
  • Loading branch information
rpineau committed Feb 17, 2019
1 parent d851969 commit dc96052
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file added ASCOM_Driver_Releases/NexDome_2.1 Setup.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions NexDome_ASCOM/Driver.cs 100755 → 100644
Expand Up @@ -517,7 +517,7 @@ private void OnSerialTimer(object source, EventArgs e)
string message = "", command = "", value = "";
int localInt;

tl.LogMessage("connected", connectedState.ToString());
//tl.LogMessage("connected", connectedState.ToString());

if (!connectedState)
return;
Expand Down Expand Up @@ -1412,7 +1412,7 @@ internal void ReadProfile()
canSetAltitude = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetAltitude", "Cans", "false"));
canSetAzimuth = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetAzimuth", "Cans", "true"));
canSetPark = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetPark", "Cans", "true"));
canSetShutter = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetShutter", "Cans", "false"));
canSetShutter = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSetShutter", "Cans", "true"));
canSyncAzimuth = Convert.ToBoolean(driverProfile.GetValue(driverID, "canSyncAzimuth", "Cans", "true"));
}
}
Expand Down
6 changes: 3 additions & 3 deletions NexDome_ASCOM/NexDome Setup.iss 100755 → 100644
Expand Up @@ -73,11 +73,11 @@ var
begin
Result := 0.0; // Initialise the return value in case we can't read the registry
try
if RegQueryStringValue(HKEY_LOCAL_MACHINE_32, 'Software\ASCOM','PlatformVersion', PlatVerString) then
if RegQueryStringValue(HKEY_LOCAL_MACHINE_32, 'Software\ASCOM','PlatformVersion', PlatVerString) then
begin // Successfully read the value from the registry
Result := StrToFloat(PlatVerString); // Create a double from the X.Y Platform version string
end;
except
except
ShowExceptionMessage;
Result:= -1.0; // Indicate in the return value that an exception was generated
end;
Expand All @@ -97,7 +97,7 @@ var
else
if PlatformVersionNumber = 0.0 then
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)
else
else
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);
end;
Expand Down

0 comments on commit dc96052

Please sign in to comment.