Skip to content
Snippets Groups Projects
Commit 756c2f4c authored by Arthur Coolen's avatar Arthur Coolen
Browse files

Task #4044: corrected timestring

parent d64eb8d8
No related branches found
No related tags found
No related merge requests found
...@@ -50,15 +50,18 @@ private void reload() { ...@@ -50,15 +50,18 @@ private void reload() {
// check if the required datapoint for this view are enabled and accessible // check if the required datapoint for this view are enabled and accessible
if (navFunct_dpReachable(baseDP+\".process.startTime\")) { if (navFunct_dpReachable(baseDP+\".process.startTime\")) {
if (dpConnect(\"updateSWController\", baseDP +\".process.startTime:_online.._value\", if (dpExists(baseDP+\".process.startTime\")) {
baseDP +\".process.stopTime:_online.._value\", if (dpConnect(\"updateSWController\", baseDP +\".process.startTime:_online.._value\",
baseDP +\".process.stopTime:_online.._invalid\", baseDP +\".process.stopTime:_online.._value\",
baseDP +\".process.startTime:_online.._invalid\") == -1) { baseDP +\".process.stopTime:_online.._invalid\",
setValue(\"process\", \"backCol\", \"Lofar_dpdoesnotexist\"); baseDP +\".process.startTime:_online.._invalid\") == -1) {
} setValue(\"process\", \"backCol\", \"Lofar_dpdoesnotexist\");
}
} else {
setValue(\"process\", \"backCol\", \"Lofar_dpdoesnotexist\");
}
} else { } else {
setValue(\"process\", \"backCol\", \"Lofar_dpOffline\"); setValue(\"process\", \"backCol\", \"Lofar_dpOffline\");
} }
} }
......
...@@ -169,7 +169,7 @@ void ackAllClicked() { ...@@ -169,7 +169,7 @@ void ackAllClicked() {
// ok rest should be possible to acknowledge // ok rest should be possible to acknowledge
// find the entry in the table // find the entry in the table
DebugN(\"navigator_alerts.pnl:ackAllClicked| g_alarms: \",g_alarms[\"DPNAME\"]); if (g_alarms[\"DPNAME\"] == \"\") return;
if ( dynlen(g_alarms[\"DPNAME\"]) >= 1) { if ( dynlen(g_alarms[\"DPNAME\"]) >= 1) {
iPos=dynContains(g_alarms[\"DPNAME\"],dp); iPos=dynContains(g_alarms[\"DPNAME\"],dp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment