You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use 'type' instead of 'sxl' for determining proxy type
Separates concerns by using 'type' field for proxy determination while keeping 'sxl' for schema validation as suggested in review feedback.
Co-authored-by: emiltin <66034+emiltin@users.noreply.github.com>
Copy file name to clipboardExpand all lines: documentation/classes_and_modules.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Proxy has to child classes: SiteProxy and SupervisorProxy.
55
55
A SiteProxy represents a connection from a Supervisor to a remote Site. It provides methods for sending commands and requesting status from the connected site.
56
56
57
57
### TrafficLightControllerProxy
58
-
A TrafficLightControllerProxy is a specialized SiteProxy for Traffic Light Controller (TLC) sites. It provides high-level methods for common TLC operations like setting signal plans and fetching current plan status. The supervisor automatically creates TLCProxy instances when TLC sites connect (based on the site configuration having `sxl: 'tlc'`).
58
+
A TrafficLightControllerProxy is a specialized SiteProxy for Traffic Light Controller (TLC) sites. It provides high-level methods for common TLC operations like setting signal plans and fetching current plan status. The supervisor automatically creates TLCProxy instances when TLC sites connect (based on the site configuration having `type: 'tlc'`).
Copy file name to clipboardExpand all lines: documentation/tlc_proxy.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,17 +15,17 @@ The TLC proxy provides convenient methods that abstract away the low-level RSMP
15
15
16
16
## Automatic Detection
17
17
18
-
When a TLC site connects to a supervisor, the supervisor automatically detects that it's a TLC based on the site configuration (`sxl: 'tlc'`) and creates a `TrafficLightControllerProxy` instead of a generic `SiteProxy`.
18
+
When a TLC site connects to a supervisor, the supervisor automatically detects that it's a TLC based on the site configuration (`type: 'tlc'`) and creates a `TrafficLightControllerProxy` instead of a generic `SiteProxy`.
19
19
20
20
This happens in the supervisor's connection handling:
0 commit comments