Jump to: navigation, search

Changes


Safety Instructions

786 bytes added, 12:09, 25 November 2015
[[File:UBIK_Android_UI_Content_Browser_Safety_Instructions.png|400 px|thumb|border|alt=Safety Instructions|Safety Instructions]]
In certain use cases some objects in the data model represent work packages, for example describing tasks to be done in predictive maintenance. If some of these work packages require the user to confirm safety should receive saftey instructions before they can be worked on, this feature provides showing a list of documents the user has to read and confirm before the work package can be an object is opened in the ''Content Browser''.
On For example, imagine some objects in the {{UBIK}} Android client data model represent work packages, describing tasks to be done in predictive maintenance. If some of these work packages require the user to confirm safety instructions before their tasks can be worked on, this feature is available {{Version/AndroidSince|2.4.5}}provides showing a list of documents the user has to read and confirm before the work package can be opened in the ''Content Browser''.
== Behaviour ==
Whenever a user tries to open a safety relevant work package object in the content browser''Content Browser'', a safety check dialog will be shown.
This dialog shows all safety documents that must be read before proceeding.
The instructions can be confirmed with the button at the bottom of the dialog. Once confirmed, the work package object is opened (and underlying tasks children as well as properties can be modifiedif not prohibited otherwise). <br/>This check doesn't appear again if the user already confirmed the checks(except if the property storing that information was changed).
It does not matter where the attempt to open a safety relevant object in the ''Content Browser'' came from (e.g. QR marker scan result or an AR view).
{{Attention|The safety instructions dialog is only opened before a respectively classified object is shown in the ''Content Browser''. <br/>This means: For example if a task is classified, editing it from its parent's children list view will not be intercepted. In this case you should classify the parent object instead.}}
== Customizing ==
There When this article was created, the pages for the required classifications were still under construction.However, there are two classifications necessary for the feature to work: === Safety Relevant Object Classification ===
=== Safety Relevant Work Package Classification ===
{| class="wikitable" | width = "50%"
| SAFETYINSTRUCTIONCONFIRMED || Boolean || Stores whether the user has confirmed the safety instructions (can be used in combination with the session ID on the server)
|-
| NUMBEROFSAFETYDOCUMENTS || Integer || Tells the UBIK Android client how many safety documents document children are to be expected.
|-
|}
This classification is used to configure work packages objects that require safety instructionsbefore being shown in the ''Content Browser''.
|}
This classification is used to configure safety instruction documentsas children of a safety relevant object.
[[Category:Android|Safety Instructions]]
1,527
edits