Killcards Forms

SUMMARY

Killcard_Work.mdb offers user friendly forms to ease putting data in the source tables.
Data may be added for each of the five damage types: The five damage types can neither be changed, nor can new damage types be added.
Note:
On start of the application you may receive a security warning to block insecure expressions. You've got to allow insecure expressions, otherwise the application may not be functional. On the next form you've got to press open to start the application.

CONTENTS

  1. Form Start
  2. Form Insert Rooms
  3. Form Main

Form Start



After opening the "Killcard_Work.mdb" you see the start form with three different options: These items will be described in detail in the following paragraphs.
To confirm your selection press the "OK"-button, to quit the application press the "Cancel" button.


Radio Button Show


This selection displays a choice of three predefined reports: If the box "print" besides the corresponding button is checked, the report will also be send to the default printer.


Radio Button Edit


Before editing, authentication is requested. Enter the password in the field "Password" and click on button "OK" to log-on.
If the password was correct, the first edit form will be shown, see chapter "Form Insert Rooms" ff. for further information. Otherwise an error message will be displayed and after three invalid tries the form will close itself.
Use the "Close" button to leave the form.
Note:
The default password on delivery is "alpha-bit". This should be changed on first usage (see below for more details).



A click on the button "Change Password" will enable the entry fields "Old Password", "New Password" and "Repeat". Use the "Return Key" on your keyboard to manoeuvre between the entry fields. After putting in the necessary information you have to press the "OK" button. A Warning messages will be shown, if the Use the "Close" button to leave the form.
Note:
It is necessary for killcards to have at least one room defined. After pushing the button "OK" this will automatically be checked. If no room definition is found, the form "Insert Rooms" will be shown (see chapter "Form Insert Rooms").


Radio Button Zip Databases
On selecting this radio button both databases are compressed to an archive, which is stored in the installation directory.
The archive has the name syntax "Killcard-DB_yyyymmdd_hhmmss.zip". This archive can be send to support@alpha-bit.de in case of a problem.

Form Insert Rooms



This form is shown, if no rooms are defined in the database, e. g. at first time use.
There are two options to add rooms: Both options will be described in detail in the following paragraphs.


Import from a text (.txt) file
After pushing the button "Import Rooms from .txt" a message box will open with more information regarding the format of the text file.



These format parameters have to be: For example:



After acknowledging the message box, a text file can be selected (open file dialogue) and the import can be started by a click on the button "Import".
After a successful import the form "Main" will be shown (see chapter "Form Main").
Note:
A text file can only be imported once into an empty room list. After that rooms can be added and edited by use of the form "Edit Rooms" (see paragraph "Add rooms manually"), which is accessed via the form "Main" (see chapter "Form Main").
A text file for import in ALPHA-VISION®Killcards can be created by the room list export from ALPHA-VISION®AvET. The exported file is named "Killcards.txt" by default, but may be changed; it contains all available room data of the AvET project and can be imported in ALPHA-VISION®Killcards without further adaptions.


Add rooms manually
A click on the button "Add rooms manually" opens the form "Edit Rooms".



In this form you can add, edit or erase rooms from the database.
Note:
After each line you have got to press the return key or click into the next row to save the data.
A click on the button "Close" shuts this form and opens the form "Main". At this stage the room list is checked, to make sure that at least one room is defined. If not, a warning will be displayed and the form will not be closed.




Relations between Entries in the ALPHA-VISION®AvET und the Killcards

The entries in the above described "Killcard.txt" file, respectively in the form "Edit Rooms" refer to fields in the object "RoomPolygon" in the ALPHA-VISION®AvET.

The following Table shows their relationship.
Field Name in the Room Polygon Header in the file "Killcards.txt" Header in the form "Edit Rooms" Remarks
Name Room_Number No.
Description Room_Description Room_Description Room Description in Killcard
freely selectable
Room Room_Identification Room-ID room selection for Killcard
freely selectable
Deck Room_Deck Deck
Section Room_Department Dep

Form Main



The "Main Form" has five sections: For every damage type [1] you can define a selection of items in the main menu [2]. One or more room groups can be linked to each of these items. The rooms for each room group are assigned in the "Room Selection" area [3]. The sequence of actions for each room group is specified in the "Sequential Actions" area [4]. To save the data, click "Update Vision Data" [5].
Note:
A room can be assigned to ONE Killcard only for any damage type.


"Damage Type" area
Each of the five buttons represents one killcards damage type (top down): After pressing one of the buttons the corresponding main menu is shown, clearly recognizable by its caption. If already existing, the first menu item is selected, in which case the "Room Selection" area and the "Sequential Actions" area update automatically.


"Main Menu" area
Main menu edit mode:
After a damage type was selected, a click on the button "Edit Mainmenu" will open the main menu for editing.



If the main menu for the chosen damage type already contains items, these are listed. You can now add new items as well as change existing ones.
With the button "Refresh" the data is saved into the database and the edit mode is closed. To return to the main menu display mode without saving use the button "Cancel".
For each of the five damage types a main menu can be specified in the described way.

Main menu display mode:


Each menu item can be select by pressing the green button in front of the menu item. The currently selected menu item is highlighted in yellow and its text is shown red. Also the "Room Selection" and the "Sequential Actions" areas are automatically updated according to the selection.


"Room Selection" area
In this area you can specify the room, resp. room groups which are linked to the activ Killcard.



The headline shows the damage type und the Killcard No.
Each damage type got its own dynamic Room List which can be displayed via the combo box [1] for room selection.
Note:
- If a room is selected or added to a room group it is taken from that list.
- If a room is deleted from a room group it appears again in that List.
- If a killcard is deleted any room connected to that killcard is put back into that list.

That assures that a room can only be connected to ONE killcard for a given damage type.
The column "Description" [2] will automatically be updated with the description of the room specified in the room list.
The remaining buttons are:


"Sequential Actions" area
Here you define the sequence of actions for the active Killcard.



The left picture shows the display without any measures defined.
With button [6] the Killcard No.: [2]and the main group [1] is connected to the actions to be defined.(see right picture)
You can now define your measures. Each measure consists of a number [5] and a text[4].


"Update Vision Data" area



To prepare the data to be used with the ALPHA-VISION®DCS (Damage Control System) click the button "Update Data for Vision" (see also chapter Killcards runtime).
The "Cancel" button returns to the "Start Form" directly, your inserted data is still saved in the database, but is not ready to use with
ALPHA-VISION®DCS.