GetValue() public method

public GetValue ( ) : float
return float
        public override void TimerCallback(object state)
        {
            Debug.Print("ElectricalConductivity Callback");
            ElectricalConductivityData ECData = new ElectricalConductivityData();

            // get current ElectricalConductivity Value
            ECData.SetValue(GetPPM());
            Debug.Print("ElectricalConductivity = " + ECData.GetValue().ToString("F"));

            //Timer Callbacks receive a Delegate in the state object
            InputDataAvailable ida = (InputDataAvailable)state;

            // call out to the delegate with expected value
            // TODO: Currently there is a glitch with SerialPort and
            // sometimes data doesn't come back from the Stamp.
            // Discard bad readings, and report any meaningful ones
            if (ECData.GetValue() > 0.0F)
            {
                ida(ECData);
            }
        }
        public override void TimerCallback(object state)
        {
            Debug.Print("ElectricalConductivity Callback");
            ElectricalConductivityData ECData = new ElectricalConductivityData();

            // get current ElectricalConductivity Value
            ECData.SetValue(GetPPM());
            Debug.Print("ElectricalConductivity = " + ECData.GetValue().ToString("F"));

            //Timer Callbacks receive a Delegate in the state object
            InputDataAvailable ida = (InputDataAvailable)state;

            // call out to the delegate with expected value
            // TODO: Currently there is a glitch with SerialPort and
            // sometimes data doesn't come back from the Stamp.
            // Discard bad readings, and report any meaningful ones
            if (ECData.GetValue() > 0.0F) ida(ECData);
        }