‹ 首页

tia-hmi-operations

@czarnak · 收录于 1 周前

C# Openness implementation of HMI engineering.

适合你,如果需要在C#中编程实现HMI工程自动化。

/ 下载安装
tia-hmi-operations.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-hmi-operations
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- czarnak/totally-integrated-claude/tia-hmi-operations
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify czarnak/totally-integrated-claude/tia-hmi-operations
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
29GitHub stars
~742最小装载
~67.6K含声明引用
~67.6K文本包总量
镜像托管

怎么用

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

tia-hmi-operations

Scope

HMI 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.

Classic WinCC (WinCC.dll — HmiTarget)

| Reference file | When to use | |---|---| | references/hmi-target.md | Initialize/Compile: Getting the HmiTarget from a device; compiling HMI; HMI object model overview; namespace-to-composition mapping. | | references/screens.md | Screens: Creating and managing screen folders; deleting screens, screen templates, or entire folder contents. | | references/hmi-composition-hierarchy.md | Screen Items & Alarms: Complete screen composition tree (popups, slideins, templates, global elements); screen item attributes; Alarms, Recipes, and Reports API. | | references/tags.md | Tags: Creating HMI tag table folders; enumerating tags; deleting individual tags or tag tables. | | references/scripts-cycles-connections.md | Services: Managing VB scripts and folders; cycles, connections, text lists, and graphic lists. |

WinCC Unified (WinCCUnified.dll — HmiSoftware)

| Reference file | When to use | |---|---| | references/unified-overview.md | Initialize/Overview: Getting HmiSoftware entry point; full composition map; required namespaces. | | references/unified-tags-alarms.md | Tags & Alarms: Unified tags, tag tables, groups; alarm classes, discrete/analog alarms; audit classes. | | references/unified-screens.md | Screens: Unified screen hierarchy, groups, folders; ScreenBase, ScreenGroup, and ScreenWindow navigation. | | references/unified-elements.md | Screen Items: Creating/finding shapes (circles, lines) and widgets (buttons, IO fields, gauges). | | references/unified-parts.md | UI Components: Complex parts like DataGrids, AlarmViews, TrendAreas, and ControlBar elements. | | references/unified-dynamization.md | Dynamization: Scripting, Tag/Expression dynamization; MappingTables; flashing conditions. | | references/unified-events.md | Event Handlers: Subscribing to UI events (OnClick, OnChange) for all screen item types. | | references/unified-features.md | Features: UI feature interfaces (IHmiArcFeature, IHmiWindowFeature, IHmiScaleFeature). | | references/unified-logging.md | Logging: Data logs, alarm logs, audit trails, and logging tags. | | references/unified-connections.md | Connections: HMI connections and driver properties. | | references/unified-runtime-settings.md | Runtime: Reporting, Telemetry, OpcUaServer, and UI Runtime resource settings. | | references/unified-plant-model.md | Plant Model: Plant Objects, Views, Interfaces, and CPM services. | | references/unified-system-services.md | Services: JavaScript modules/scripts; Text and Graphic lists. | | references/unified-enums.md | Enums: Comprehensive list of HMI-specific enums (AggregationMode, FillPattern, FontName, etc.). |


Execution pattern
  1. Locate the HMI device in project.Devices
  2. Determine Classic vs Unified:
  3. Classic: HmiTarget hmi = sc?.Software as HmiTarget (namespace: Siemens.Engineering.Hmi)
  4. Unified: HmiSoftware hmi = sc?.Software as HmiSoftware (namespace: Siemens.Engineering.HmiUnified)
  5. Classify the task: tags, screens, alarms, scripts, logging, import/export, compile
  6. Load the relevant reference file (Classic or Unified) and navigate the composition
  7. Use ICompilable for HMI compile (see tia-project-general/references/compile.md)
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

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