⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serialcnfg.cs

📁 常见的串口通信程序
💻 CS
📖 第 1 页 / 共 2 页
字号:
            {
                this.eofChar = value;
            }
        }

        public byte ErrChar
        {
            get
            {
                return this.errChar;
            }
            set
            {
                this.errChar = value;
            }
        }

        public bool ErrReplace
        {
            get
            {
                return this.errReplace;
            }
            set
            {
                this.errReplace = value;
            }
        }

        public byte EvtChar
        {
            get
            {
                return this.evtChar;
            }
            set
            {
                this.evtChar = value;
            }
        }

        public Handshake FlowCtrl
        {
            get
            {
                return this.handshake;
            }
            set
            {
                this.handshake = value;
            }
        }

        public bool NullDiscard
        {
            get
            {
                return this.nulDiscard;
            }
            set
            {
                this.nulDiscard = value;
            }
        }

        public SerialPorts.Parity Parity
        {
            get
            {
                return this.parity;
            }
            set
            {
                this.parity = value;
            }
        }

        public string PortName
        {
            get
            {
                return this.portName;
            }
            set
            {
                this.portName = value;
            }
        }

        public bool ReceiveMode
        {
            get
            {
                return this.receiveMode;
            }
            set
            {
                this.receiveMode = value;
            }
        }

        public PinState RtsControl
        {
            get
            {
                return this.rtsControl;
            }
            set
            {
                this.rtsControl = value;
            }
        }

        public bool RxDSRsense
        {
            get
            {
                return this.rxDSRsense;
            }
            set
            {
                this.rxDSRsense = value;
            }
        }

        public bool RxFlowXoff
        {
            get
            {
                return this.rxFlowXoff;
            }
            set
            {
                this.rxFlowXoff = value;
            }
        }

        public int RxQueLen
        {
            get
            {
                return this.rxQueLen;
            }
            set
            {
                this.rxQueLen = value;
            }
        }

        public SerialPorts.StopBits StopBits
        {
            get
            {
                return this.stopBits;
            }
            set
            {
                this.stopBits = value;
            }
        }

        public bool TxContinue
        {
            get
            {
                return this.txContinue;
            }
            set
            {
                this.txContinue = value;
            }
        }

        public bool TxFlowCTS
        {
            get
            {
                return this.txFlowCTS;
            }
            set
            {
                this.txFlowCTS = value;
            }
        }

        public bool TxFlowDSR
        {
            get
            {
                return this.txFlowDSR;
            }
            set
            {
                this.txFlowDSR = value;
            }
        }

        public bool TxFlowXoff
        {
            get
            {
                return this.txFlowXoff;
            }
            set
            {
                this.txFlowXoff = value;
            }
        }

        public int TxQueLen
        {
            get
            {
                return this.txQueLen;
            }
            set
            {
                this.txQueLen = value;
            }
        }

        public uint TxTmoConst
        {
            get
            {
                return this.txTmoConst;
            }
            set
            {
                this.txTmoConst = value;
            }
        }

        public uint TxTmoMulti
        {
            get
            {
                return this.txTmoMulti;
            }
            set
            {
                this.txTmoMulti = value;
            }
        }

        public byte XoffChar
        {
            get
            {
                return this.xoffChar;
            }
            set
            {
                this.xoffChar = value;
            }
        }

        public short XoffLimit
        {
            get
            {
                return this.xoffLimit;
            }
            set
            {
                this.xoffLimit = value;
            }
        }

        public byte XonChar
        {
            get
            {
                return this.xonChar;
            }
            set
            {
                this.xonChar = value;
            }
        }

        public short XonLimit
        {
            get
            {
                return this.xonLimit;
            }
            set
            {
                this.xonLimit = value;
            }
        }


        // Fields
        private bool abortOnErr;
        private LineSpeed baudRate;
        private ByteSize dataBits;
        private PinState dtrControl;
        private byte eofChar;
        private byte errChar;
        private bool errReplace;
        private byte evtChar;
        private Handshake handshake;
        private bool nulDiscard;
        private SerialPorts.Parity parity;
        private string portName;
        private bool receiveMode;
        private PinState rtsControl;
        private bool rxDSRsense;
        private bool rxFlowXoff;
        private int rxQueLen;
        private SerialPorts.StopBits stopBits;
        private bool txContinue;
        private bool txFlowCTS;
        private bool txFlowDSR;
        private bool txFlowXoff;
        private int txQueLen;
        private uint txTmoConst;
        private uint txTmoMulti;
        private byte xoffChar;
        private short xoffLimit;
        private byte xonChar;
        private short xonLimit;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -