‹ 首页

tia-devices-general

@czarnak · 收录于 1 周前

C# Openness implementation of device-level operations

适合你,如果需要在C#中操作硬件设备

/ 下载安装
tia-devices-general.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add czarnak/totally-integrated-claude/tia-devices-general
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- czarnak/totally-integrated-claude/tia-devices-general
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify czarnak/totally-integrated-claude/tia-devices-general
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
29GitHub stars
~408最小装载
~35.5K含声明引用
~35.5K文本包总量
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · MIT · 9147951

tia-devices-general

Scope

Device-level engineering — full C# Openness implementation.

When the roadmap routes here, the entire solution is C#. Do not mix with Python wrapper calls. Always load tia-csharp-common first (done by roadmap).


Reference files

Load ONLY the reference file(s) relevant to the task. Do not load all files at once.

| Reference file | Load when the task involves | |---|---| | references/device-enumeration.md | Listing, finding, or iterating devices; device groups; ungrouped devices; navigating DeviceItems. | | references/device-creation.md | Creating or deleting devices; understanding TypeIdentifier formats (OrderNumber, GSD, System). | | references/device-attributes.md | Reading/writing basic device or device-item attributes; using GsdDevice service; managing Application IDs (CustomIdentityProvider). | | references/hardware-parameters.md | Setting specific hardware parameters via SetAttribute (e.g., IO addresses, diagnostic settings, module-specific enums). | | references/software-container.md | Accessing PlcSoftware or HmiTarget from a device; using the SoftwareContainer service. | | references/device-item-operations.md | Plugging, moving, copying, or deleting device items/modules; changing device/module types; hardware catalog queries. | | references/device-item-interfaces.md | NetworkInterface service; IOController/IOConnector attributes; hardware identifiers; managing addresses and channels. | | references/networks-and-connections.md | Opening hardware/network editors; querying targets from a network perspective; address object attributes. |

For tasks spanning multiple areas, load all relevant reference files before generating code.


Execution pattern
  1. Access Project.Devices composition (or DeviceGroups / UngroupedDevicesGroup)
  2. Find or create Device objects
  3. Navigate DeviceItem hierarchy as needed
  4. Access SoftwareContainer via GetService<SoftwareContainer>() when PLC/HMI software is needed
  5. Use ICompilable for hardware or software compile (see tia-project-general/references/compile.md)
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。