Big changes

This commit is contained in:
Duc
2025-03-13 12:04:22 -07:00
parent c689fcb7f9
commit ffa9905494
748 changed files with 199255 additions and 3743 deletions

View File

@@ -15,7 +15,7 @@ GOVERNMENT.
UNPUBLISHED WORK - COPYRIGHT RAYTHEON COMPANY.
-------------------------------------------------------------------------*/
using ProgramGui;
using ProgramLib;
using Raytheon.Instruments;
using System;
using System.Collections.Generic;
@@ -27,13 +27,10 @@ using System.Threading.Tasks;
namespace ProgramLib
{
/// <summary>
/// Methods to call into actions
/// </summary>
/// Partial class that define all the actions that can be executed
/// </summary>
public partial class Program
{
/// <summary>
/// Power on UUT
/// </summary>
public void UutPowerOn()
{
try
@@ -47,17 +44,12 @@ namespace ProgramLib
}
catch (Exception ex)
{
_logger.Error(ex.Message + "\n" + ex.StackTrace);
// DO NOT THROW in this block
// this function will handle the error accordingly since we could be calling this from third-party test executive like TestStand
TerminateTestOnMainThreadError(ex);
}
}
/// <summary>
/// Power off UUT
/// </summary>
public void UutPowerOff()
{
try
@@ -71,8 +63,6 @@ namespace ProgramLib
}
catch (Exception ex)
{
_logger.Error(ex.Message + "\n" + ex.StackTrace);
// DO NOT THROW in this block
// this function will handle the error accordingly since we could be calling this from third-party test executive like TestStand
TerminateTestOnMainThreadError(ex);