AlarmScreenNg 0.9.8
|
Custom help files can be added to the project, and NG AS will be able to find and display them, provided that the names of files with help information and their location on disk follows some predefined rules. The rules are inherited from existing JCOP Alarm Screen in order to reuse existing help files (if any).
The very first place where searching for help file name is _string_05 attribute of _general config for DPE where alarm came from. If the attribute is set and contains non-empty string - this is assumed to be the name of file with help, and no further search is performed.
NG AS will only searches for files of types, which were registered in project using dedicated panel. See also Help file types.
NG AS searches for help files under the directory HELP_REL_PATH/AlarmHelp/, futher in this section referred to as 'help root'.
The overall logic of search for help files is based on two statements:
One more rule which is used, but this is more JCOP-specific: description is 'more specific' than alias, which is in turn 'more specific' than name.
Taking these rules into account, the logic for searching help files to display looks rather natural. The following directories are searched (under help root!) in this order, and in every directory NG AS searches for two files (again, in this order):
Directory name | File name(s) |
---|---|
DeviceDescriptionDPE |
|
DeviceDescription |
|
DeviceDescriptionDPE |
|
DeviceDescription |
|
DeviceDPE |
|
Device |
|
DeviceTypeDPE |
|
DeviceType |
|
Some more comments on algorithm for help file search: