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

📄 commbase.xml

📁 C#串口编程。详细讲解
💻 XML
📖 第 1 页 / 共 2 页
字号:
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.useRTS">
            <summary>
            Specifies the use to which the RTS output is put (default: none)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.useDTR">
            <summary>
            Specidies the use to which the DTR output is put (default: none)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.XonChar">
            <summary>
            The character used to signal Xon for X flow control (default: DC1)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.XoffChar">
            <summary>
            The character used to signal Xoff for X flow control (default: DC3)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.rxHighWater">
            <summary>
            The number of free bytes in the reception queue at which flow is disabled
            (Default: 0 = Set to 1/10th of actual rxQueue size)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.rxLowWater">
            <summary>
            The number of bytes in the reception queue at which flow is re-enabled
            (Default: 0 = Set to 1/10th of actual rxQueue size)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.sendTimeoutMultiplier">
            <summary>
            Multiplier. Max time for Send in ms = (Multiplier * Characters) + Constant
            (default: 0 = No timeout)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.sendTimeoutConstant">
            <summary>
            Constant.  Max time for Send in ms = (Multiplier * Characters) + Constant (default: 0)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.rxQueue">
            <summary>
            Requested size for receive queue (default: 0 = use operating system default)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.txQueue">
            <summary>
            Requested size for transmit queue (default: 0 = use operating system default)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.autoReopen">
            <summary>
            If true, the port will automatically re-open on next send if it was previously closed due
            to an error (default: false)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.CommBaseSettings.checkAllSends">
            <summary>
            If true, subsequent Send commands wait for completion of earlier ones enabling the results
            to be checked. If false, errors, including timeouts, may not be detected, but performance
            may be better.
            </summary>
        </member>
        <member name="M:JH.CommBase.CommBase.CommBaseSettings.SetStandard(System.String,System.Int32,JH.CommBase.CommBase.Handshake)">
            <summary>
            Pre-configures settings for most modern devices: 8 databits, 1 stop bit, no parity and
            one of the common handshake protocols. Change individual settings later if necessary.
            </summary>
            <param name="Port">The port to use (i.e. "COM1:")</param>
            <param name="Baud">The baud rate</param>
            <param name="Hs">The handshake protocol</param>
        </member>
        <member name="M:JH.CommBase.CommBase.CommBaseSettings.SaveAsXML(System.IO.Stream)">
            <summary>
            Save the object in XML format to a stream
            </summary>
            <param name="s">Stream to save the object to</param>
        </member>
        <member name="M:JH.CommBase.CommBase.CommBaseSettings.LoadFromXML(System.IO.Stream)">
            <summary>
            Create a new CommBaseSettings object initialised from XML data
            </summary>
            <param name="s">Stream to load the XML from</param>
            <returns>CommBaseSettings object</returns>
        </member>
        <member name="M:JH.CommBase.CommBase.CommBaseSettings.LoadFromXML(System.IO.Stream,System.Type)">
            <summary>
            Create a new object loading members from the stream in XML format.
            Derived class should call this from a static method i.e.:
            return (ComDerivedSettings)LoadFromXML(s, typeof(ComDerivedSettings));
            </summary>
            <param name="s">Stream to load the object from</param>
            <param name="t">Type of the derived object</param>
            <returns></returns>
        </member>
        <member name="T:JH.CommBase.CommBase.ASCII">
            <summary>
            Byte type with enumeration constants for ASCII control codes.
            </summary>
        </member>
        <member name="T:JH.CommBase.CommBase.PortStatus">
            <summary>
            Availability status of a port
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.PortStatus.unavailable">
            <summary>
            Port exists but is unavailable (may be open to another program)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.PortStatus.available">
            <summary>
            Available for use
            </summary>
        </member>
        <member name="F:JH.CommBase.CommBase.PortStatus.absent">
            <summary>
            Port does not exist
            </summary>
        </member>
        <member name="T:JH.CommBase.CommBase.ModemStatus">
            <summary>
            Represents the status of the modem control input signals.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.ModemStatus.cts">
            <summary>
            Condition of the Clear To Send signal.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.ModemStatus.dsr">
            <summary>
            Condition of the Data Set Ready signal.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.ModemStatus.rlsd">
            <summary>
            Condition of the Receive Line Status Detection signal.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.ModemStatus.ring">
            <summary>
            Condition of the Ring Detection signal.
            </summary>
        </member>
        <member name="T:JH.CommBase.CommBase.QueueStatus">
            <summary>
            Represents the current condition of the port queues.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.ctsHold">
            <summary>
            Output is blocked by CTS handshaking.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.dsrHold">
            <summary>
            Output is blocked by DRS handshaking.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.rlsdHold">
            <summary>
            Output is blocked by RLSD handshaking.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.xoffHold">
            <summary>
            Output is blocked because software handshaking is enabled and XOFF was received.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.xoffSent">
            <summary>
            Output was blocked because XOFF was sent and this station is not yet ready to receive.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.immediateWaiting">
            <summary>
            There is a character waiting for transmission in the immediate buffer.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.InQueue">
            <summary>
            Number of bytes waiting in the input queue.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.OutQueue">
            <summary>
            Number of bytes waiting for transmission.
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.InQueueSize">
            <summary>
            Total size of input queue (0 means information unavailable)
            </summary>
        </member>
        <member name="P:JH.CommBase.CommBase.QueueStatus.OutQueueSize">
            <summary>
            Total size of output queue (0 means information unavailable)
            </summary>
        </member>
        <member name="T:JH.CommBase.CommLine">
            <summary>
            Overlays CommBase to provide line or packet oriented communications to derived classes. Strings
            are sent and received and the Transact method is added which transmits a string and then blocks until
            a reply string has been received (subject to a timeout).
            </summary>
        </member>
        <member name="M:JH.CommBase.CommLine.Send(System.String)">
            <summary>
            Queue the ASCII representation of a string and then the set terminator bytes for sending.
            </summary>
            <param name="toSend">String to be sent.</param>
        </member>
        <member name="M:JH.CommBase.CommLine.Transact(System.String)">
            <summary>
            Transmits the ASCII representation of a string followed by the set terminator bytes and then
            awaits a response string.
            </summary>
            <param name="toSend">The string to be sent.</param>
            <returns>The response string.</returns>
        </member>
        <member name="M:JH.CommBase.CommLine.Setup(JH.CommBase.CommLine.CommLineSettings)">
            <summary>
            If a derived class overrides ComSettings(), it must call this prior to returning the settings to
            the base class.
            </summary>
            <param name="s">Class containing the appropriate settings.</param>
        </member>
        <member name="M:JH.CommBase.CommLine.OnRxLine(System.String)">
            <summary>
            Override this to process unsolicited input lines (not a result of Transact).
            </summary>
            <param name="s">String containing the received ASCII text.</param>
        </member>
        <member name="T:JH.CommBase.CommLine.CommLineSettings">
            <summary>
            Extends CommBaseSettings to add the settings used by CommLine.
            </summary>
        </member>
        <member name="F:JH.CommBase.CommLine.CommLineSettings.rxStringBufferSize">
            <summary>
            Maximum size of received string (default: 256)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommLine.CommLineSettings.rxTerminator">
            <summary>
            ASCII code that terminates a received string (default: CR)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommLine.CommLineSettings.rxFilter">
            <summary>
            ASCII codes that will be ignored in received string (default: null)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommLine.CommLineSettings.transactTimeout">
            <summary>
            Maximum time (ms) for the Transact method to complete (default: 500)
            </summary>
        </member>
        <member name="F:JH.CommBase.CommLine.CommLineSettings.txTerminator">
            <summary>
            ASCII codes transmitted after each Send string (default: null)
            </summary>
        </member>
        <member name="T:JH.CommBase.CommPortException">
            <summary>
            Exception used for all errors.
            </summary>
        </member>
        <member name="M:JH.CommBase.CommPortException.#ctor(System.String)">
            <summary>
            Constructor for raising direct exceptions
            </summary>
            <param name="desc">Description of error</param>
        </member>
        <member name="M:JH.CommBase.CommPortException.#ctor(System.Exception)">
            <summary>
            Constructor for re-raising exceptions from receive thread
            </summary>
            <param name="e">Inner exception raised on receive thread</param>
        </member>
        <member name="M:JH.CommBase.Win32Com.CreateFile(System.String,System.UInt32,System.UInt32,System.IntPtr,System.UInt32,System.UInt32,System.IntPtr)">
            <summary>
            Opening Testing and Closing the Port Handle.
            </summary>
        </member>
        <member name="M:JH.CommBase.Win32Com.GetCommState(System.IntPtr,JH.CommBase.Win32Com.DCB@)">
            <summary>
            Manipulating the communications settings.
            </summary>
        </member>
        <member name="M:JH.CommBase.Win32Com.WriteFile(System.IntPtr,System.Byte[],System.UInt32,System.UInt32@,System.IntPtr)">
            <summary>
            Reading and writing.
            </summary>
        </member>
        <member name="M:JH.CommBase.Win32Com.EscapeCommFunction(System.IntPtr,System.UInt32)">
            <summary>
            Control port functions.
            </summary>
        </member>
        <member name="M:JH.CommBase.Win32Com.GetOverlappedResult(System.IntPtr,System.IntPtr,System.UInt32@,System.Boolean)">
            <summary>
            Status Functions.
            </summary>
        </member>
        <member name="T:JH.CommBase.CommPingPong">
            <summary>
            Overlays CommBase to provide byte-level ping-pong communications were each transmitted byte
            illicits a single byte response which must be absorbed before sending the next byte.
            There is a default response timeout of 500ms after which a Timeout exception will be raised.
            This timeout can be changed by changing the transactTimeout parameter in the settings object.
            Use the Transact method for all communications.
            </summary>
        </member>
        <member name="M:JH.CommBase.CommPingPong.Transact(System.Byte)">
            <summary>
            Transmits a byte and waits for and returns the response byte.
            </summary>
            <param name="toSend">The byte to be sent.</param>
            <returns>The response byte.</returns>
        </member>
        <member name="M:JH.CommBase.CommPingPong.Setup(JH.CommBase.CommPingPong.CommPingPongSettings)">
            <summary>
            If a derived class overrides ComSettings(), it must call this prior to returning the settings to
            the base class.
            </summary>
            <param name="s">Class containing the appropriate settings.</param>
        </member>
        <member name="T:JH.CommBase.CommPingPong.CommPingPongSettings">
            <summary>
            Extends CommBaseSettings to add the settings used by CommLine.
            </summary>
        </member>
        <member name="F:JH.CommBase.CommPingPong.CommPingPongSettings.transactTimeout">
            <summary>
            Maximum time (ms) for the Transact method to complete (default: 500)
            </summary>
        </member>
    </members>
</doc>

⌨️ 快捷键说明

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