Get() public method

Get the value from the Enhanced Digital Input Channel
public Get ( ) : bool
return bool
        public void EnhancedDigitalInvertedTest()
        {
            using (EnhancedDigitalInput e = new EnhancedDigitalInput(0))
            {
                e.Inverted = true;
                DIO[0].Value = true;
                Assert.IsFalse(e.Get());
                DIO[0].Value = false;
                Assert.IsTrue(e.Get());

                e.Inverted = false;
                DIO[0].Value = true;
                Assert.IsTrue(e.Get());
                DIO[0].Value = false;
                Assert.IsFalse(e.Get());
            }
        }
        public void EnhancedDigitalOverrideTest()
        {
            using (DigitalInput e = new EnhancedDigitalInput(0) {Inverted = true})
            {
                DIO[0].Value = true;
                Assert.IsFalse(e.Get());
                DIO[0].Value = false;
                Assert.IsTrue(e.Get());
            }

            using (DigitalInput e = new EnhancedDigitalInput(0) {Inverted = false})
            {
                DIO[0].Value = true;
                Assert.IsTrue(e.Get());
                DIO[0].Value = false;
                Assert.IsFalse(e.Get());
            }
        }