コード例 #1
0
        public void GetDeviceTypeTest()
        {
            var cfg = new SerialPortConfig(_connString1);

            cfg.GetDeviceType().Should().Be(SerialPortState.PowerSupply);
        }