File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 22 LED ,
33 ButtonPanel ,
44 ComboBox ,
5+ Group ,
56 SignalR ,
67 SignalRW ,
78 SignalW ,
89 SignalX ,
10+ SubScreen ,
911 TextFormat ,
1012 TextRead ,
1113 TextWrite ,
@@ -30,6 +32,28 @@ def test_get_components(mapping):
3032
3133 components = gui .extract_mapping_components (mapping .get_controller_mappings ()[0 ])
3234 assert components == [
35+ Group (
36+ name = "SubController01" ,
37+ layout = SubScreen (labelled = True ),
38+ children = [
39+ SignalR (
40+ name = "ReadInt" ,
41+ read_pv = "DEVICE:SubController01:ReadInt" ,
42+ read_widget = TextRead (),
43+ )
44+ ],
45+ ),
46+ Group (
47+ name = "SubController02" ,
48+ layout = SubScreen (labelled = True ),
49+ children = [
50+ SignalR (
51+ name = "ReadInt" ,
52+ read_pv = "DEVICE:SubController01:ReadInt" ,
53+ read_widget = TextRead (),
54+ )
55+ ],
56+ ),
3357 SignalR (name = "BigEnum" , read_pv = "DEVICE:BigEnum" , read_widget = TextRead ()),
3458 SignalR (name = "ReadBool" , read_pv = "DEVICE:ReadBool" , read_widget = LED ()),
3559 SignalR (
You can’t perform that action at this time.
0 commit comments