UNIHH-IOTUNIHH-IOT
Home
Guide
Manual
  • 简体中文
  • English
GitHub
Home
Guide
Manual
  • 简体中文
  • English
GitHub
  • Manual

    • Operation Manual
    • Dashboard
    • Driver Management
    • Device Management
    • Thing Models
    • Data Monitor
    • Rule Engine
    • Alarm Center
    • Log Audit
    • System Management

Thing Models

A thing model is the standardized abstraction of a device type: its acquisition, control and alerting capabilities defined once as a template. Devices bound to a model share a uniform data structure, so upstream applications never deal with protocol differences.

Thing Models

Finding Templates

Search by template code / name and filter by industry category. Built-in categories:

  • Rotating machinery / variable-frequency motors
  • PLC controllers / automation
  • Industrial Ethernet gateways
  • Environment and energy monitoring

Creating a Model

FieldDescription
Model code (ID)Unique; use a business-semantic identifier (e.g. centrifugal-fan)
Model nameDisplay name
Industry categoryFor organization and search
DescriptionWhat kind of devices this template covers

The Three Elements

A model consists of properties, services and events, edited in separate sections.

Properties

Properties describe measurable state — the basic unit of acquisition:

FieldDescription
Point codeUnique identifier used in acquisition and storage (e.g. MotorTemp)
Point nameDisplay name (e.g. "motor winding temperature")
Data typeFLOAT / DOUBLE / INT / STRING / BOOL / ENUM
Enum mappingFor ENUM: key-value pairs (e.g. 1: running, 0: stopped)
Access modeR (read-only) / RW (read-write; only RW properties can be controlled)
Sampling modePERIODIC (on the device cycle) / COV (report on change)
Unit°C, MPa, kW… used in display and alerts
DescriptionFree-form detail

Services

Services describe compound actions a device can perform (e.g. "remote start", "set frequency to 30 Hz"):

FieldDescription
Service codeUnique identifier
Service nameDisplay name
Input parametersThe parameter list required to invoke the service (name, type, default)

Services are invoked from the control panel on Device Management.

Events

Events describe abnormal conditions or state reports a device can raise:

FieldDescription
Event codeUnique identifier
Event nameDisplay name
Event typeFault / alarm / info, etc.
Alert levelDefault severity when triggered
Payload descriptionEvent payload structure and trigger conditions

How Models Fit Together

Thing model (template) ──bind──> Device (instance) ──point mapping──> Physical registers
       │                                                        │
       └── properties / events ──> Rule engine targets <────────┘
  • One model serves many devices; edit once, effective everywhere;
  • Rules reference model properties and events directly as monitoring targets;
  • Built-in templates can be duplicated and adjusted as a starting point.

Modeling Advice

  • Align property granularity with actual instrument measurements — one measurement, one property — for traceability;
  • Mark controllable states as RW and pure monitoring values as R to prevent accidental writes;
  • Prefer COV sampling for slowly-changing points to cut bus and storage load significantly.
Edit this page on GitHub
Last Updated: 11/13/26, 3:34 AM
Contributors: sunqi
Prev
Device Management
Next
Data Monitor