• 大小: 0.70M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2024-06-15
  • 语言: C#
  • 标签: 通讯  接口  

资源简介

LIS HL7 深圳迈瑞血常规通讯接口

    TCP/IP 连接LIS仪器,本实例单通,

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using System.Globalization;
using System.Threading;

namespace TCPClient
{
    /// 
    /// 异步TCP客户端
    /// 

    public class AsyncTcpClient : IDisposable
    {
        #region Fields

        private TcpClient tcpClient;
        private bool disposed = false;
        private int retries = 0;

        #endregion

        #region Ctors

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器终结点
        public AsyncTcpClient(IPEndPoint remoteEP)
            : this(new[] { remoteEP.Address } remoteEP.Port)
        {
        }

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器终结点
        /// 本地客户端终结点
        public AsyncTcpClient(IPEndPoint remoteEP IPEndPoint localEP)
            : this(new[] { remoteEP.Address } remoteEP.Port localEP)
        {
        }

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器IP地址
        /// 远端服务器端口
        public AsyncTcpClient(IPAddress remoteIPAddress int remotePort)
            : this(new[] { remoteIPAddress } remotePort)
        {
        }

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器IP地址
        /// 远端服务器端口
        /// 本地客户端终结点
        public AsyncTcpClient(
          IPAddress remoteIPAddress int remotePort IPEndPoint localEP)
            : this(new[] { remoteIPAddress } remotePort localEP)
        {
        }

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器主机名
        /// 远端服务器端口
        public AsyncTcpClient(string remoteHostName int remotePort)
            : this(Dns.GetHostAddresses(remoteHostName) remotePort)
        {
        }

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器主机名
        /// 远端服务器端口
        /// 本地客户端终结点
        public AsyncTcpClient(
          string remoteHostName int remotePort IPEndPoint localEP)
            : this(Dns.GetHostAddresses(remoteHostName) remotePort localEP)
        {
        }

        /// 
        /// 异步TCP客户端
        /// 

        /// 远端服务器IP地址列表
        /// 远端服务器端口
        public AsyncTcpClient(IPAddress[] remoteIPAddresses int remotePort)
            : this(remoteIPAddresses remotePort null)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     92160  2020-09-30 11:13  C#Socket血常规\TCPClient\.vs\TCPClient\v15\.suo

     文件          0  2019-12-22 20:33  C#Socket血常规\TCPClient\.vs\TCPClient\v15\Server\sqlite3\db.lock

     文件       4096  2019-12-22 20:33  C#Socket血常规\TCPClient\.vs\TCPClient\v15\Server\sqlite3\storage.ide

     文件      32768  2020-09-14 08:47  C#Socket血常规\TCPClient\.vs\TCPClient\v15\Server\sqlite3\storage.ide-shm

     文件    3077672  2020-09-14 09:08  C#Socket血常规\TCPClient\.vs\TCPClient\v15\Server\sqlite3\storage.ide-wal

     文件      14267  2016-03-09 13:39  C#Socket血常规\TCPClient\AsyncTcpClient\AsyncTcpClient.cs

     文件       2568  2016-03-09 15:24  C#Socket血常规\TCPClient\AsyncTcpClient\AsyncTcpClient.csproj

     文件      13312  2020-09-14 08:50  C#Socket血常规\TCPClient\AsyncTcpClient\bin\Debug\AsyncTcpClient.dll

     文件      34304  2020-09-14 08:50  C#Socket血常规\TCPClient\AsyncTcpClient\bin\Debug\AsyncTcpClient.pdb

     文件         42  2020-09-14 08:46  C#Socket血常规\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.csproj.CoreCompileInputs.cache

     文件       1481  2020-09-14 08:50  C#Socket血常规\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.csproj.FileListAbsolute.txt

     文件       7574  2020-09-14 08:46  C#Socket血常规\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.csprojAssemblyReference.cache

     文件      13312  2020-09-14 08:50  C#Socket血常规\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.dll

     文件      34304  2020-09-14 08:50  C#Socket血常规\TCPClient\AsyncTcpClient\obj\Debug\AsyncTcpClient.pdb

     文件       6486  2020-09-14 08:57  C#Socket血常规\TCPClient\AsyncTcpClient\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1370  2016-03-09 10:29  C#Socket血常规\TCPClient\AsyncTcpClient\Properties\AssemblyInfo.cs

     文件        977  2016-03-09 10:30  C#Socket血常规\TCPClient\AsyncTcpClient\TcpDatagramReceivedEventArgs.cs

     文件       1720  2016-03-09 10:30  C#Socket血常规\TCPClient\AsyncTcpClient\TcpServerConnectedEventArgs.cs

     文件       1726  2016-03-09 10:30  C#Socket血常规\TCPClient\AsyncTcpClient\TcpServerDisconnectedEventArgs.cs

     文件       2020  2016-03-09 10:30  C#Socket血常规\TCPClient\AsyncTcpClient\TcpServerExceptionOccurredEventArgs.cs

     文件      13312  2020-09-14 08:50  C#Socket血常规\TCPClient\TCPClient\bin\Debug\AsyncTcpClient.dll

     文件      34304  2020-09-14 08:50  C#Socket血常规\TCPClient\TCPClient\bin\Debug\AsyncTcpClient.pdb

     文件      12800  2020-09-14 09:08  C#Socket血常规\TCPClient\TCPClient\bin\Debug\TCPClient.exe

     文件      22016  2020-09-14 09:08  C#Socket血常规\TCPClient\TCPClient\bin\Debug\TCPClient.pdb

     文件      11600  2016-03-09 23:16  C#Socket血常规\TCPClient\TCPClient\bin\Debug\TCPClient.vshost.exe

     文件       5298  2020-09-14 09:08  C#Socket血常规\TCPClient\TCPClient\ClientForm.cs

     文件       7344  2020-09-14 09:08  C#Socket血常规\TCPClient\TCPClient\ClientForm.Designer.cs

     文件       5817  2020-09-14 09:08  C#Socket血常规\TCPClient\TCPClient\ClientForm.resx

     文件       3431  2020-09-14 08:46  C#Socket血常规\TCPClient\TCPClient\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7207  2020-09-14 08:46  C#Socket血常规\TCPClient\TCPClient\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

............此处省略141个文件信息

评论

共有 条评论