Example #1
0
        public override void OnValueUpdatedAction(object parm)
        {
            var args = parm as ValueUpdatedEvent;
            var val  = ScaleRawLevel(Convert.ToSingle(args.value));

            if (val > zeroScaleCalibrationActual)
            {
                dataLogger.AddEntry(val);
            }
            else
            {
                dataLogger.AddEntry("probe disconnected");
            }
        }