IcpMonitor.Sdk 1.0.2

dotnet add package IcpMonitor.Sdk --version 1.0.2
                    
NuGet\Install-Package IcpMonitor.Sdk -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IcpMonitor.Sdk" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IcpMonitor.Sdk" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="IcpMonitor.Sdk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IcpMonitor.Sdk --version 1.0.2
                    
#r "nuget: IcpMonitor.Sdk, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IcpMonitor.Sdk@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IcpMonitor.Sdk&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=IcpMonitor.Sdk&version=1.0.2
                    
Install as a Cake Tool

IcpMonitor.Sdk

多参数监护仪 TCP/IP 协议 SDK — 纯 .NET 8.0 类库,解析监护仪实时数据。

快速开始

using IcpMonitor.Sdk;
using IcpMonitor.Sdk.Models;

var client = new IcpMonitorClient("0.0.0.0", 50001, "icp_data.csv");

client.OnDataReceived += data => {
    Console.WriteLine($"HR={data.HR}, SpO2={data.SpO2}, ICP={data.IBP1_MEAN}, T1={data.TEMP1}");
};
client.OnLog += msg => Console.WriteLine(msg);

await client.StartAsync();  // 开始监听
// ... 运行中 ...
client.Stop();              // 停止

支持参数

参数 说明
HR 心率
RR 呼吸率
SpO2 血氧饱和度
PR 脉率
NIBP 无创血压 (SYS/DIA/MEAN)
IBP 有创血压 (双通道)
ICP 颅内压
TEMP 体温 (双通道 + 温差)
EtCO2 呼末二氧化碳
波形 ECG / SpO2 / ICP / ART

协议规格

  • TCP Server-Client(PC=Server, 监护仪=Client)
  • 端口 = 网络号 + 50000
  • 包格式: 长度(2B) + 网络号(1B) + 类型(1B) + 头校验(2B) + 数据 + 校验(2B)
  • Little Endian, 16位累加校验和
  • 三重验证: 头校验 + 包类型合法性 + 数据校验

许可证

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 206 7/31/2026

Initial release: TCP Server, protocol parsing, realtime data models, CSV writer.