@@ -14,9 +14,11 @@ Ext.define("WPAKD.controller.sourcesconfiguration.phidgets.Phidgets", {
1414 , "sourcesconfiguration.phidgets.graphs.Cfgphidgetsensorsgraph"
1515
1616 , "sourcesconfiguration.phidgets.relays.Main"
17- , "sourcesconfiguration.phidgets.relays.Cfgphidgetcameraport"
18- , "sourcesconfiguration.phidgets.relays.Cfgphidgeterroractivate"
19- , "sourcesconfiguration.phidgets.relays.Cfgphidgetfailure"
17+ , "sourcesconfiguration.phidgets.relays.Cfgphidgetcamerarelayport"
18+ , "sourcesconfiguration.phidgets.relays.Cfgphidgetcameraactivate"
19+ , "sourcesconfiguration.phidgets.relays.Cfgphidgetcamerafailure"
20+ , "sourcesconfiguration.phidgets.relays.Cfgphidgetcamerapause"
21+ , "sourcesconfiguration.phidgets.relays.Cfgphidgetcamerasensorport"
2022
2123 , "sourcesconfiguration.phidgets.sensors.Main"
2224 , "sourcesconfiguration.phidgets.sensors.PhidgetsPortsList"
@@ -44,10 +46,12 @@ Ext.define("WPAKD.controller.sourcesconfiguration.phidgets.Phidgets", {
4446 refs : [
4547 { ref : "sourcesconfigurationphidgetsmain" , selector : "sourcesconfigurationphidgetsmain" }
4648
47- , { ref : "sourcesconfigurationphidgetsrelaysmain" , selector : "sourcesconfigurationphidgetsrelaysmain" }
48- , { ref : "sourcesconfigurationphidgetsrelayscfgphidgeterroractivate" , selector : "sourcesconfigurationphidgetsrelayscfgphidgeterroractivate" }
49- , { ref : "sourcesconfigurationphidgetsrelayscfgphidgetfailure" , selector : "sourcesconfigurationphidgetsrelayscfgphidgetfailure" }
50- , { ref : "sourcesconfigurationphidgetsrelayscfgphidgetcameraport" , selector : "sourcesconfigurationphidgetsrelayscfgphidgetcameraport" }
49+ , { ref : "sourcesconfigurationphidgetsrelaysmain" , selector : "sourcesconfigurationphidgetsrelaysmain" }
50+ , { ref : "sourcesconfigurationphidgetsrelayscfgphidgetcameraactivate" , selector : "sourcesconfigurationphidgetsrelayscfgphidgetcameraactivate" }
51+ , { ref : "sourcesconfigurationphidgetsrelayscfgphidgetcamerafailure" , selector : "sourcesconfigurationphidgetsrelayscfgphidgetcamerafailure" }
52+ , { ref : "sourcesconfigurationphidgetsrelayscfgphidgetcamerarelayport" , selector : "sourcesconfigurationphidgetsrelayscfgphidgetcamerarelayport" }
53+ , { ref : "sourcesconfigurationphidgetsrelayscfgphidgetcamerasensorport" , selector : "sourcesconfigurationphidgetsrelayscfgphidgetcamerasensorport" }
54+ , { ref : "sourcesconfigurationphidgetsrelayscfgphidgetcamerapause" , selector : "sourcesconfigurationphidgetsrelayscfgphidgetcamerapause" }
5155
5256 , { ref : "sourcesconfigurationphidgetsgraphsmain" , selector : "sourcesconfigurationphidgetsgraphsmain" }
5357 , { ref : "sourcesconfigurationphidgetsgraphscfgphidgetsensorsgraph" , selector : "sourcesconfigurationphidgetsgraphscfgphidgetsensorsgraph" }
@@ -122,12 +126,16 @@ Ext.define("WPAKD.controller.sourcesconfiguration.phidgets.Phidgets", {
122126 configObj [ configName ] = rec . get ( "VALUE" ) ;
123127 } ) ;
124128
125- if ( configObj . hasOwnProperty ( "cfgphidgeterroractivate" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgeterroractivate ( ) . setValue ( configObj [ "cfgphidgeterroractivate" ] ) ;
126- } else { this . getSourcesconfigurationphidgetsrelayscfgphidgeterroractivate ( ) . setVisible ( false ) ; }
127- if ( configObj . hasOwnProperty ( "cfgphidgetfailure" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgetfailure ( ) . setValue ( configObj [ "cfgphidgetfailure" ] ) ;
128- } else { this . getSourcesconfigurationphidgetsrelayscfgphidgetfailure ( ) . setVisible ( false ) ; }
129- if ( configObj . hasOwnProperty ( "cfgphidgetcameraport" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgetcameraport ( ) . setValue ( configObj [ "cfgphidgetcameraport" ] ) ;
130- } else { this . getSourcesconfigurationphidgetsrelayscfgphidgetcameraport ( ) . setVisible ( false ) ; }
129+ if ( configObj . hasOwnProperty ( "cfgphidgetcameraactivate" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgetcameraactivate ( ) . setValue ( configObj [ "cfgphidgetcameraactivate" ] ) ;
130+ } else { this . getSourcesconfigurationphidgetsrelayscfgphidgetcameraactivate ( ) . setVisible ( false ) ; }
131+ if ( configObj . hasOwnProperty ( "cfgphidgetcamerafailure" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerafailure ( ) . setValue ( configObj [ "cfgphidgetcamerafailure" ] ) ;
132+ } else { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerafailure ( ) . setVisible ( false ) ; }
133+ if ( configObj . hasOwnProperty ( "cfgphidgetcamerarelayport" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerarelayport ( ) . setValue ( configObj [ "cfgphidgetcamerarelayport" ] ) ;
134+ } else { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerarelayport ( ) . setVisible ( false ) ; }
135+ if ( configObj . hasOwnProperty ( "cfgphidgetcamerasensorport" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerasensorport ( ) . setValue ( configObj [ "cfgphidgetcamerasensorport" ] ) ;
136+ } else { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerasensorport ( ) . setVisible ( false ) ; }
137+ if ( configObj . hasOwnProperty ( "cfgphidgetcamerapause" ) ) { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerapause ( ) . setValue ( configObj [ "cfgphidgetcamerapause" ] ) ;
138+ } else { this . getSourcesconfigurationphidgetsrelayscfgphidgetcamerapause ( ) . setVisible ( false ) ; }
131139
132140 if ( configObj . hasOwnProperty ( "cfgphidgetsensorsgraph" ) ) { this . getSourcesconfigurationphidgetsgraphscfgphidgetsensorsgraph ( ) . setValue ( configObj [ "cfgphidgetsensorsgraph" ] ) ;
133141 } else { this . getSourcesconfigurationphidgetsgraphscfgphidgetsensorsgraph ( ) . setVisible ( false ) ; }
0 commit comments