CnWeb.Top.Packer 25.7.23

dotnet add package CnWeb.Top.Packer --version 25.7.23
                    
NuGet\Install-Package CnWeb.Top.Packer -Version 25.7.23
                    
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="CnWeb.Top.Packer" Version="25.7.23" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CnWeb.Top.Packer" Version="25.7.23" />
                    
Directory.Packages.props
<PackageReference Include="CnWeb.Top.Packer" />
                    
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 CnWeb.Top.Packer --version 25.7.23
                    
#r "nuget: CnWeb.Top.Packer, 25.7.23"
                    
#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 CnWeb.Top.Packer@25.7.23
                    
#: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=CnWeb.Top.Packer&version=25.7.23
                    
Install as a Cake Addin
#tool nuget:?package=CnWeb.Top.Packer&version=25.7.23
                    
Install as a Cake Tool
graph TD
A[Word文档] --> B[AI LLM]
B --> C[JSON数据]
C --> D[导入协议]
D --> E[解析JSON生成对象]
E --> F[Create Packer]
F --> G[Create Parser]
G --> H[SaveToFile]

流程说明

  1. Word文档: • 用户提供协议定义的 Word 文档作为输入。
  2. AI LLM(大模型): • 使用 AI 模型将 Word 中的协议结构和内容提取并转换为标准化的 JSON 格式。
  3. JSON数据: • 输出结构化的 JSON 数据,表示协议的字段、类型、顺序等信息。
  4. 导入协议解析: • 将 JSON 数据用于构建协议模型,可能包括字段校验、类型映射等操作。
  5. 解析JSON生成对象: • 基于 JSON 数据动态或静态生成对应的对象模型(如 ProtocolNode 等)。
  6. Create Packer: • 调用 CreatePacker() 方法,根据协议对象创建用于序列化/打包的数据包处理工具。
  7. Create Parser: • 调用 CreateParser() 方法,创建用于解析二进制或数据流的解析器。
  8. SaveToFile: • 将打包后的数据通过 SaveToFile 方法持久化存储到磁盘或其他存储介质中。 可选扩展建议 • 异常处理模块:可在每一步添加异常捕获与日志记录。 • 验证模块:在 JSON 解析后加入 Schema 验证步骤,确保数据完整性。 • 可视化界面:可将该流程封装成一个 GUI 工具,便于用户交互。
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.

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
25.7.23 621 7/23/2025