Ejemplo n.º 1
0
        /********************************************************************************************
         * Function Name: Reset
         * Parameters: see function definition
         * Return: void
         *
         * Description:  Resets the 'GPS_Calculations' class.
         *
         *********************************************************************************************/

        public void Reset()
        {
            strAcronym = NULL_ACRONYM;
            strSBAS    = NULL_ACRONYM;
            gyGPSCalculationsInitialised = false;
            clsLocalKerbalGPSReference   = null;
        }
Ejemplo n.º 2
0
        /////////////////////////////////////////////////////////////////////////////////////////////
        //
        //    Implementation - Public functions
        //
        /////////////////////////////////////////////////////////////////////////////////////////////

        /********************************************************************************************
         * Function Name: Initialise
         * Parameters: see function definition
         * Return: void
         *
         * Description:  Initialises the 'GPS_Calculations' class.
         *
         *********************************************************************************************/

        public void Initialise(KerbStar.KerbalGPS clsKerbalGPSReference, string strGNSSacronym, string strSBASacronym)
        {
            if (!gyGPSCalculationsInitialised)
            {
                strAcronym = strGNSSacronym;
                strSBAS    = strSBASacronym;
                gyGPSCalculationsInitialised = true;
                clsLocalKerbalGPSReference   = clsKerbalGPSReference;
            }
        }