WorkCenterDeviceState
Binds a work center to a controller device it can be communicated through
TypeID of this binding (prefix wcd). Stable across priority/active changes.
TypeID (prefix wcr) of the work center this binding belongs to.
TypeID (prefix dev) of the controller device the work center is reached through. The protocol used (JMF/HTTP/SQL/MQTT) comes from the device's own connection config, not from this binding.
priorityInt!Preference rank in the controller pool (0 = preferred, ascending = fallback)
isActiveBoolean!Whether this controller path may be used. Inactive bindings are retained but skipped when choosing a communication path.
ISO-8601 timestamp of when the binding was first created.
ISO-8601 timestamp of the last change to the binding; equals createdAt until it is first updated or upserted.
View exact SDL
"""
Binds a work center to a controller device it can be communicated through
"""
type WorkCenterDeviceState @iac_resource(name: "work_center_device") @iac_ops(create: "createWorkCenterDevice", read: "getWorkCenterDevice", update: "updateWorkCenterDevice", delete: "deleteWorkCenterDevice") {
"""
TypeID of this binding (prefix `wcd`). Stable across priority/active changes.
"""
id: WorkCenterDeviceID! @iac_identity(assignedBy: SERVER) @iac_computed
"""TypeID (prefix `wcr`) of the work center this binding belongs to."""
workCenterId: WorkCenterID! @iac_ref(resource: "work_center") @iac_createOnly
"""
TypeID (prefix `dev`) of the controller device the work center is reached through. The protocol used (JMF/HTTP/SQL/MQTT) comes from the device's own connection config, not from this binding.
"""
deviceId: DeviceID! @iac_ref(resource: "device") @iac_createOnly
"""
Preference rank in the controller pool (0 = preferred, ascending = fallback)
"""
priority: Int!
"""
Whether this controller path may be used. Inactive bindings are retained but skipped when choosing a communication path.
"""
isActive: Boolean!
"""ISO-8601 timestamp of when the binding was first created."""
createdAt: ISO8601! @iac_computed
"""
ISO-8601 timestamp of the last change to the binding; equals `createdAt` until it is first updated or upserted.
"""
updatedAt: ISO8601! @iac_computed
}One stable address across all schema views. Follow a field’s type to explore connections between domains.