Files
CapMachine/.windsurf/rules/zlgcan.md

37 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
trigger: manual
---
### 目标根据周立功的CAN卡提供的官方资料进行封装成C#类库供使用主要是CANCAN FDLIN三个通信其中CAN和CAN FD使用DBC配置LIN使用LDF配置
### 周立功CAN卡型号USBCANFD 200U
### 官网网络资源地址
函数库简介https://manual.zlg.cn/web/#/152/5333
开发流程https://manual.zlg.cn/web/#/152/5334
数据结构定义https://manual.zlg.cn/web/#/152/5335
函数说明https://manual.zlg.cn/web/#/152/5336
设备类型号https://manual.zlg.cn/web/#/152/6361
### 官方ZLGAPI
CapMachine.Wpf\CanDrive\ZlgCan\ZLGAPI.cs
### 官方接口函数使用方法:
CapMachine.Wpf\CanDrive\ZlgCan\接口函数使用手册.pdf
### 要求:
相关的封装内容放到CapMachine.Wpf\CanDrive\ZlgCan下封装要体现工程化能力需要考虑性能后期长时间运行
功能要全面我之前用的图莫斯的CAN卡是另外一套函数在CapMachine.Wpf\CanDrive 和CapMachine.Wpf\LinDrive 中封装实现,你可以查看
官方的样例在\CapMachine\Sample\C#_USBCANFD_251215,可借鉴使用
可以联网查询信息
需要详细的注释分析过程
当前提供的CAN和LIN的基础能力我最终需要的是使用DBCCAN/CAN FD和LDFLIN配置文件进行读取数据和控制发送