using System;
using Microsoft.SPOT;

/*
*** See if the logic to dumpCPData is right, might need to rework booleans so there is a flag that goes true if we actually get into CP mode
    //check if float is at surface
            if (SV.Pressure < (configFile.cpPressureCutoff + 0.5))
            {
                //is CTD in CP mode, and will data need to be dumped?
                if (configFile.CPMode)
                {
                    DumpCPData = true;
                    return (Program.CPFStates.initProfile);
                }
                return (Program.CPFStates.initProfile);
*** Implement watchdog functionality
*** Reduce energy - Glide mode, sleep/hibernate processor, slow down PID and/or increase Tf
*** DONE Fix lock methodology
 *** Add qS.ErrorCode everywhere and handle like SBE41.
 *** DONE Make sure SBDIX tries several times over a couple of minutes

** Move timeout values into configFile maybe
** Add messageIndex check in all IO drivers to make sure we don't spin off the end of the messageBytes array.  Link it to Queue width
** Move bellowsPosition to buoyancyEngine class
** Move processStructQ() to StructQueue with appropriate methods in each class that needs to process the queue
** Move all the misc methods in Program.cs into appropriate classes
** Add error checking to Elmo read and writes
** Add Elmo monitor functions
 ** Deal with failure in initMission actions like checkValveAction
** Add serial port error event handlers
** Be sure to test pressure tables with multiple park stations
 ** Reduce verbosity level in recovery mode
 ** Make verbosity level functional
 ** robustify file transfer
 ** Make sure all .Parse methods work on char array not byte array with 0 elements after the value
 ** Should setPV set SV.RunPID true?
 ** Investigate why 1 Hz CTD data is noiser than .3 Hz data
 ** Deal with extend/retract bellows return(false) condition
 ** Log more stuff like state exit condition
 ** DONE Deal with extend retract bellows when valve is closed
 ** make sure ascend will find the surface even if SBE41 doesn't e.g. look for GPS signal above 10 meters or something like that
 ** Make SV.checkStruckPressure = true in basicStateEntry and make false where needed
 ** Deal with all checkForResponse return codes instead of assuming everything worked
 ** rework the SBD message to include the right stuff not just the raw GPS message
 ** Probably should re-work descend and ascend so it doesn't call setPV if it isn't a park station
 ** Use checkBellowsPosition outside limits as test case for how to structure error repsonse.  Example, detecting an outside limits condition should prevent any further motion in that directin by any method or state
 ** This is an arbitrary comment to force git commit
 * Deal with the issue in the 4th line down
 * $	10-Nov-2015	10:23:54.280	Dump CP Data	Unparsed SBE41 Message					    8.90, 19.6494, 34.7218  																														
$	10-Nov-2015	11:48:38.953	Dump CP Data	RecMode false, PID Off, Stopped, Scend sub: Outside Band, depthNum = 0	2.170000	63.304885	29.875000																										0.185000	-100.000000					
$	10-Nov-2015	11:48:41.785	Dump CP Data	Didn't get dd response, restarting command timer
$	10-Nov-2015	11:48:41.784	Dump CP Data	Unparsed SBE41 Message					SBE41 waitingForResponse expended all retries																														
$	10-Nov-2015	11:48:42.191	Dump CP Data	RecMode false, PID Off, Stopped, Scend sub: Outside Band, depthNum = 0	2.170000	63.305910	29.875000																										0.195000	-100.000000					
$	10-Nov-2015	11:48:44.831	Dump CP Data	Unparsed SBE41 Message					S>  																														
$	10-Nov-2015	10:23:57.211	Dump CP Data	Unparsed SBE41 Message					    8.89, 19.6493, 34.7219  																														
$	10-Nov-2015	11:48:46.033	Dump CP Data	Normal state exit
$	10-Nov-2015	11:48:46.144	Dump CP Data	RecMode false, PID Off, Stopped, Scend sub: Outside Band, depthNum = 0	2.170000	63.305910	29.875000																										0.195000	-100.000000					
$	10-Nov-2015	11:48:47.865	Surface Ops	State Entry
$	10-Nov-2015	11:48:48.478	Surface Ops	Closing old engr log file: \SD\2015-11-10T11-13-59
*/

namespace CPF
{
    class TODOList
    {
    }
}
