Commit d8cd2765 authored by claes's avatar claes

Historical event list added

parent 416afe4f
......@@ -28,7 +28,7 @@ c_Collect_show : compound_string("Collect show");
c_Advanced_user : compound_string("Advanced user");
c_View : compound_string("View");
c_Zoom_in : compound_string("Zoom in");
c_Zoom_out : compound_string("Zoom ut");
c_Zoom_out : compound_string("Zoom out");
c_Zoom_reset : compound_string("Zoom reset");
c_Help : compound_string("Help");
c_Overview : compound_string("Overview");
......@@ -38,6 +38,8 @@ c_Project : compound_string("Project");
c_Alarmlist : compound_string("Alarmlist");
c_Eventlist : compound_string("Eventlist");
c_Eventlog : compound_string("Eventlog");
c_Histlist : compound_string("Historical Eventlist");
c_Navigator : compound_string("Navigator");
! module xtt_xatt.uil
......@@ -91,3 +93,35 @@ k_Value_input : "Value input";
c_SearchNext : "SearchNext";
c_SearchPrevious : "SearchPrevious";
! module xtt_hist.uil
histformtitle : "Historical Event List: Search Condition";
Search : "Search";
Exit : "Exit";
starttime : "Start time";
priority : "Priority";
stoptime : "Stop time";
eventtype : "Event type";
eventtext : "Event text";
eventname : "Event name";
a_alarm : "A-Alarm";
b_alarm : "B-Alarm";
c_alarm : "C-Alarm";
d_alarm : "D-Alarm";
message : "Message";
active : "Active";
acknowledge : "Ack";
return : "Return";
nrOfEvents : "Number of events:";
today : "Today";
yesterday : "Yesterday";
thisweek : "This Week";
lastweek : "Last Week";
thismonth : "This Month";
lastmonth : "Last Month";
all : "All";
time : "Time";
searchcondition : "Searchcondition:";
mnemonic_FILE : 'F';
This diff is collapsed.
......@@ -87,6 +87,7 @@ procedure
op_create_appl_form(integer);
op_activate_alarmlist(integer);
op_activate_eventlist(integer);
op_activate_eventlog(integer);
op_activate_navigator(integer);
op_activate_help(integer);
......@@ -569,6 +570,7 @@ object base_form : XmForm
{
XmPushButton alarm_list;
XmPushButton event_list;
XmPushButton event_log;
XmPushButton navigator;
XmPushButton help;
};
......@@ -631,6 +633,25 @@ object navigator : XmPushButton
};
};
object event_log : XmPushButton
{
arguments
{
XmNlabelString = c_Eventlog;
XmNleftAttachment = XmATTACH_FORM;
XmNtopAttachment = XmATTACH_WIDGET;
XmNtopWidget = XmPushButton navigator;
XmNrightAttachment = XmATTACH_FORM;
! XmNwidth = 50;
XmNheight = 25;
XmNfontList = menu_font;
};
callbacks
{
XmNactivateCallback = procedure op_activate_eventlog(op_ctx);
};
};
object help : XmPushButton
{
arguments
......@@ -638,7 +659,7 @@ object help : XmPushButton
XmNlabelString = c_Help;
XmNleftAttachment = XmATTACH_FORM;
XmNtopAttachment = XmATTACH_WIDGET;
XmNtopWidget = XmPushButton navigator;
XmNtopWidget = XmPushButton event_log;
XmNrightAttachment = XmATTACH_FORM;
XmNbottomAttachment = XmATTACH_FORM;
! XmNwidth = 50;
......
......@@ -38,6 +38,8 @@ c_Project : compound_string("Projekt");
c_Alarmlist : compound_string("Larmlista");
c_Eventlist : compound_string("Hndelselista");
c_Eventlog : compound_string("Hndelselogg");
c_Histlist : compound_string("Historisk Hndelselista");
c_Navigator : compound_string("Navigatr");
! module xtt_xatt.uil
......@@ -96,3 +98,49 @@ c_SearchPrevious : "S
! module xtt_hist.uil
histformtitle : "Historisk hndelselista: Skvillkor";
Search : "Sk";
Exit : "Avsluta";
starttime : "Start tid";
priority : "Prioritet";
stoptime : "Stopp tid";
eventtype : "Hndelsetyp";
eventtext : "Hndelsetext";
eventname : "Hndelsenamn";
a_alarm : "A-Larm";
b_alarm : "B-Larm";
c_alarm : "C-Larm";
d_alarm : "D-Larm";
message : "Meddel.";
active : "Aktiv";
acknowledge : "Kvittens";
return : "Retur";
nrOfEvents : "Antal hndelser:";
today : "Idag";
yesterday : "Igr";
thisweek : "Denna vecka";
lastweek : "Frra veckan";
thismonth : "Denna mnad";
lastmonth : "Frra mnaden";
all : "Allt";
time : "Tid";
searchcondition : "Skvillkor:";
mnemonic_FILE : 'A';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment