Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
3dfa0984
Commit
3dfa0984
authored
19 years ago
by
bruijn
Browse files
Options
Downloads
Patches
Plain Diff
BugID: 203
trend-view Bug solved: configured timerange was reset after panel startup.
parent
d5d3510f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAC/Navigator/panels/nav_fw/trend_view.pnl
+13
-14
13 additions, 14 deletions
MAC/Navigator/panels/nav_fw/trend_view.pnl
with
13 additions
and
14 deletions
MAC/Navigator/panels/nav_fw/trend_view.pnl
+
13
−
14
View file @
3dfa0984
V 10
1
LANG:1 10 trend_view
PANEL,2
46 168
954 748 N "_3DFace" 2
PANEL,2
33 201
954 748 N "_3DFace" 2
"$configDatapoint"
"$datapoint"
"main()
...
...
@@ -11,17 +11,10 @@ PANEL,246 168 954 748 N "_3DFace" 2
dpExists($configDatapoint + \".Trend2Active\") &&
dpExists($configDatapoint + \".Dedicated\"))
{
// Check if the timeinterval is greater the zero seconds!
CheckTimeInterval($configDatapoint + \".1.Days\",
$configDatapoint + \".1.Hours\",
$configDatapoint + \".1.Minutes\",
$configDatapoint + \".1.Seconds\",
1);
CheckTimeInterval($configDatapoint + \".2.Days\",
$configDatapoint + \".2.Hours\",
$configDatapoint + \".2.Minutes\",
$configDatapoint + \".2.Seconds\",
2);
CheckTimeInterval($configDatapoint, 1);
CheckTimeInterval($configDatapoint, 2);
dpConnect(\"ArrangeTrendPlots\", $configDatapoint + \".Standard\",
$configDatapoint + \".Trend2Active\",
...
...
@@ -41,12 +34,18 @@ PANEL,246 168 954 748 N "_3DFace" 2
// Function : Check the time interval for a tred
//
///////////////////////////////////////////////////////////////////////////////////
CheckTimeInterval(
int Days, int Hours, int Minutes, int Seconds, str
in
g
TrendNumber)
CheckTimeInterval(
string configDatapoint,
in
t
TrendNumber)
{
int Days, Hours, Minutes, Seconds;
dpGet(configDatapoint + \".\"+TrendNumber+\".Days\", Days);
dpGet(configDatapoint + \".\"+TrendNumber+\".Hours\", Hours);
dpGet(configDatapoint + \".\"+TrendNumber+\".Minutes\", Minutes);
dpGet(configDatapoint + \".\"+TrendNumber+\".Seconds\", Seconds);
if ((0==Days) && (0==Hours) && (0==Minutes) && (Seconds<2))
{
dpSet(
$
configDatapoint + \".\"+TrendNumber+\".Minutes\", 5);
dpSet(
$
configDatapoint + \".\"+TrendNumber+\".Seconds\", 2);
dpSet(configDatapoint + \".\"+TrendNumber+\".Minutes\", 5);
dpSet(configDatapoint + \".\"+TrendNumber+\".Seconds\", 2);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment