MTConnect: decide per-/raw-Device routing (client per device vs DraftValidator error) #628

Closed
opened 2026-10-08 09:21:55 -04:00 by dohertj2 · 1 comment
Owner

Split from #613 (decision item). The MTConnect driver ignores RawTagEntry.DeviceName: all raw tags bind through one agent client regardless of the /raw Device they sit under. #613's slice added a loud warning when a DeviceName is set, but the actual behaviour needs a decision.

Sources: docs/drivers/MTConnect.md; MTConnectDriver.cs (ignored-DeviceName warning).

Options to decide between:

  • (a) one agent client per /raw Device (Device row carries agent base URL + MTConnect device name)

  • (b) keep a single client per driver and make a Device-scoped tag a deploy-time DraftValidator error

  • Choose (a) or (b) and record it in docs/drivers/MTConnect.md

  • Implement it (routing, or the validator rule + authoring-time message in the tag editor)

  • Tests, including multi-device agents and the existing single-device configs staying valid

Filed 2026-10-08 by the hardware-available issue sweep.

Split from #613 (decision item). The MTConnect driver ignores `RawTagEntry.DeviceName`: all raw tags bind through one agent client regardless of the /raw Device they sit under. #613's slice added a loud warning when a DeviceName is set, but the actual behaviour needs a decision. Sources: docs/drivers/MTConnect.md; `MTConnectDriver.cs` (ignored-DeviceName warning). Options to decide between: - (a) one agent client per /raw Device (Device row carries agent base URL + MTConnect device name) - (b) keep a single client per driver and make a Device-scoped tag a deploy-time `DraftValidator` error - [ ] Choose (a) or (b) and record it in docs/drivers/MTConnect.md - [ ] Implement it (routing, or the validator rule + authoring-time message in the tag editor) - [ ] Tests, including multi-device agents and the existing single-device configs staying valid *Filed 2026-10-08 by the hardware-available issue sweep.*
Author
Owner

Fixed in 723392e3 (Merge b626-mtconnect): one MTConnect driver = one agent client = at most one /raw Device. A second is a deploy error (MTConnectMultipleDevices) and RawTreeService.CreateDeviceAsync refuses it.

Fixed in 723392e3 (Merge b626-mtconnect): one MTConnect driver = one agent client = at most one /raw Device. A second is a deploy error (MTConnectMultipleDevices) and RawTreeService.CreateDeviceAsync refuses it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#628