using System; using Microsoft.SPOT; namespace abstractState { public class SV { private static bool runPVPID = false; public static bool RunPVPID { get { return runPVPID; } set { runPVPID = value; } } //TODO does this need to be here now that park is a state? private static bool parked = false; public static bool Parked { get { return parked; } set { parked = value; } } private static bool surfaceOpsGo = true; public static bool SurfaceOpsGo { get { return surfaceOpsGo; } set { surfaceOpsGo = value; } } private static bool sORecoveryMode = true; public static bool SORecoveryMode { get { return sORecoveryMode; } set { sORecoveryMode = value; } } //TODO should this exist here, or in StateBase and be protected? private static int profileNum = -1; public static int ProfileNum { get { return profileNum; } set { profileNum = value; } } //TODO should pressure only live in the SBE and be get accessable? private static double pressure = double.NaN; public static double Pressure { get { return pressure; } set { pressure = value; } } private static int pressureTableNum = -1; public static int PressureTableNum { get { return pressureTableNum; } set { pressureTableNum = value; } } //flag to allow checkStuckPressure test to be performed private static bool checkStuckPressure = true; public static bool CheckStuckPressure { get { return checkStuckPressure; } set { checkStuckPressure = value; } } } }