|
def | __init__ (self, str name, str oldb_uri, str standard_uri, str telmon_uri, bool ignore_flag, FacadesManager facades_manager, parent=None, *args, **kwargs) |
| Constructor.
|
|
def | change_oldb_model (self, str new_uri) |
| Save new datapoint oldb uri with state information and and set it in the taurus widget model.
|
|
def | change_ignore_flag (self, bool new_flag) |
| Save new ignore flag value and set it in the taurus widget model.
|
|
def | change_telmon_uri (self, str new_uri) |
| If different from the current one, save the new telmon uri and update MonCmds facade.
|
|
def | change_standard_uri (self, str new_uri) |
| If different from the current one, save the new standard uri and update StdCmds facade.
|
|
def | send_ignoreflag_cmd (self, bool ignore_flag) |
| Slots implementation ##.
|
|
def | handle_app_ignore_data_response (self, str status) |
|
def | handle_app_ignore_data_error (self, tuple error_info) |
|
def | init_pressed (self) |
| Check connection and forwards an init command to the Facade.
|
|
def | stop_pressed (self) |
| Check connection and forwards an stop command to the Facade.
|
|
def | enable_pressed (self) |
| Check connection and forwards an enable command to the Facade.
|
|
def | disable_pressed (self) |
| Check connection and forwards an disable command to the Facade.
|
|
def | reset_pressed (self) |
| Check connection and forwards an reset command to the Facade.
|
|
def | exit_pressed (self) |
| Check connection and forwards an exit command to the Facade.
|
|
def | handle_generic_response (self, str status) |
|
def | handle_generic_error (self, tuple error_info) |
|
◆ __init__()
def statepanel_item.StatePanelItem.__init__ |
( |
|
self, |
|
|
str |
name, |
|
|
str |
oldb_uri, |
|
|
str |
standard_uri, |
|
|
str |
telmon_uri, |
|
|
bool |
ignore_flag, |
|
|
FacadesManager |
facades_manager, |
|
|
|
parent = None , |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Constructor.
- Parameters
-
label | String to be displayed in the list |
oldb_uri | String of the URI where we read the state value |
standard_uri | URI of the applciation standard command server :facades_manager: FacadesManager reference. It is needed to update back the state of the 'ignore' flag when it is clicked by the user. |
parent | QObject parent widget instance :return: |
◆ change_ignore_flag()
def statepanel_item.StatePanelItem.change_ignore_flag |
( |
|
self, |
|
|
bool |
new_flag |
|
) |
| |
Save new ignore flag value and set it in the taurus widget model.
- Parameters
-
new_flag | Ignore flag value from standard facade commands :return: |
◆ change_oldb_model()
def statepanel_item.StatePanelItem.change_oldb_model |
( |
|
self, |
|
|
str |
new_uri |
|
) |
| |
Save new datapoint oldb uri with state information and and set it in the taurus widget model.
- Parameters
-
new_uri | Uri from standard facade commands :return: |
◆ change_standard_uri()
def statepanel_item.StatePanelItem.change_standard_uri |
( |
|
self, |
|
|
str |
new_uri |
|
) |
| |
If different from the current one, save the new standard uri and update StdCmds facade.
- Parameters
-
new_uri | Facade uri :return: |
◆ change_telmon_uri()
def statepanel_item.StatePanelItem.change_telmon_uri |
( |
|
self, |
|
|
str |
new_uri |
|
) |
| |
If different from the current one, save the new telmon uri and update MonCmds facade.
- Parameters
-
new_uri | Telmon commands uri :return: |
◆ disable_pressed()
def statepanel_item.StatePanelItem.disable_pressed |
( |
|
self | ) |
|
Check connection and forwards an disable command to the Facade.
◆ enable_pressed()
def statepanel_item.StatePanelItem.enable_pressed |
( |
|
self | ) |
|
Check connection and forwards an enable command to the Facade.
◆ exit_pressed()
def statepanel_item.StatePanelItem.exit_pressed |
( |
|
self | ) |
|
Check connection and forwards an exit command to the Facade.
◆ handle_app_ignore_data_error()
def statepanel_item.StatePanelItem.handle_app_ignore_data_error |
( |
|
self, |
|
|
tuple |
error_info |
|
) |
| |
◆ handle_app_ignore_data_response()
def statepanel_item.StatePanelItem.handle_app_ignore_data_response |
( |
|
self, |
|
|
str |
status |
|
) |
| |
◆ handle_generic_error()
def statepanel_item.StatePanelItem.handle_generic_error |
( |
|
self, |
|
|
tuple |
error_info |
|
) |
| |
◆ handle_generic_response()
def statepanel_item.StatePanelItem.handle_generic_response |
( |
|
self, |
|
|
str |
status |
|
) |
| |
◆ init_pressed()
def statepanel_item.StatePanelItem.init_pressed |
( |
|
self | ) |
|
Check connection and forwards an init command to the Facade.
◆ reset_pressed()
def statepanel_item.StatePanelItem.reset_pressed |
( |
|
self | ) |
|
Check connection and forwards an reset command to the Facade.
◆ send_ignoreflag_cmd()
def statepanel_item.StatePanelItem.send_ignoreflag_cmd |
( |
|
self, |
|
|
bool |
ignore_flag |
|
) |
| |
Slots implementation ##.
Send the telmon command that change the ignore flag
- Parameters
-
ignore_flag | CheckBox value after triggered :return: |
◆ stop_pressed()
def statepanel_item.StatePanelItem.stop_pressed |
( |
|
self | ) |
|
Check connection and forwards an stop command to the Facade.
◆ _facades_manager
statepanel_item.StatePanelItem._facades_manager |
|
protected |
◆ _ignore_flag
statepanel_item.StatePanelItem._ignore_flag |
|
protected |
◆ _message_sender
statepanel_item.StatePanelItem._message_sender |
|
protected |
◆ _moncmds_facade
statepanel_item.StatePanelItem._moncmds_facade |
|
protected |
◆ _name
statepanel_item.StatePanelItem._name |
|
protected |
◆ _oldb_uri
statepanel_item.StatePanelItem._oldb_uri |
|
protected |
◆ _standard_uri
statepanel_item.StatePanelItem._standard_uri |
|
protected |
◆ _stdcmds_facade
statepanel_item.StatePanelItem._stdcmds_facade |
|
protected |
◆ _telmon_uri
statepanel_item.StatePanelItem._telmon_uri |
|
protected |
◆ ui
statepanel_item.StatePanelItem.ui |
The documentation for this class was generated from the following file: