Skip to content

Commit a4f7837

Browse files
V1.1.15.0 Updates
- Fixed bug that caused logfile explosion after a successful TPPA with NINA. - Fixed an issue where the end of the TPPA was not detected when interrupted by the user.
1 parent 8eece96 commit a4f7837

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

OATControl/OATControl Setup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "OATControl"
5-
#define MyAppVersion "1.1.14.0"
5+
#define MyAppVersion "1.1.15.0"
66
#define MyAppPublisher "OpenAstroTech"
77
#define MyAppURL "https://wiki.openastrotech.com/"
88
#define MyAppExeName "OATControl.exe"

OATControl/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("1.1.14.0")]
55-
[assembly: AssemblyFileVersion("1.1.14.0")]
54+
[assembly: AssemblyVersion("1.1.15.0")]
55+
[assembly: AssemblyFileVersion("1.1.15.0")]

OATControl/Readme.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Revision History
22
----------------
33

4+
OATControl V1.1.15.0 2 Jul 2025
5+
- Fixed bug that caused logfile explosion after a successful TPPA with NINA.
6+
- Fixed an issue where the end of the TPPA was not detected when
7+
interrupted by the user.
8+
49
OATControl V1.1.14.0 2 Jul 2025
510
- Added support for inverting corrections for AutoPA adjustments.
611
- Limited automatic adjustments to 3 degrees.

OATControl/ViewModels/MountVM.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ void ProcessNinaLogs()
294294
while (lineCount > _examinedLines)
295295
{
296296
Log.WriteLine("MOUNT: New lines in NINA log file to process.");
297-
if (_allTextList.FindIndex(_examinedLines, l => l.Contains("PolarAlignment.cs") && l.Contains("OperationCanceledException")) > 0)
297+
if (_allTextList.FindIndex(_examinedLines, l => l.Contains("ERROR|PolarAlignment.cs|Solve|")) > 0)
298298
{
299299
Log.WriteLine("MOUNT: Polar alignment canceled, resetting state.");
300300
_examinedLines = lineCount;
@@ -437,7 +437,7 @@ void ProcessNinaLogs()
437437
bool alignmentIsComplete = _allTextList.FindIndex(_examinedLines, l => l.Contains("PolarAlignment.cs") && l.Contains("Total Error is below alignment tolerance")) > 0;
438438
string message = "Polar alignment succeeded.";
439439
// User Cancellation?
440-
if (_allTextList.FindIndex(_examinedLines, l => l.Contains("ERROR|PolarAlignment.cs|Solve|717")) > 0)
440+
if (_allTextList.FindIndex(_examinedLines, l => l.Contains("ERROR|PolarAlignment.cs|Solve|")) > 0)
441441
{
442442
alignmentIsComplete = true;
443443
message = "Polar alignment cancelled by user.";
@@ -508,6 +508,11 @@ void ProcessNinaLogs()
508508
}
509509
}
510510
break;
511+
case "Complete":
512+
{
513+
_examinedLines = lineCount;
514+
}
515+
break;
511516
}
512517

513518
bool alignmentComplete = _allTextList.FindIndex(_examinedLines, l => l.Contains("PolarAlignment.cs") && l.Contains("Total Error is below alignment tolerance")) > 0;

0 commit comments

Comments
 (0)