Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dcc-js
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
D-PTB
DCC
Development
dcc-js
Commits
06ae17a4
Verified
Commit
06ae17a4
authored
5 years ago
by
Jan Loewe
Browse files
Options
Downloads
Patches
Plain Diff
fix(dsi): fix element names
parent
2460fd37
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/d_si/ExpandedUnc.ts
+9
-9
9 additions, 9 deletions
src/d_si/ExpandedUnc.ts
src/d_si/Real.ts
+16
-16
16 additions, 16 deletions
src/d_si/Real.ts
with
25 additions
and
25 deletions
src/d_si/ExpandedUnc.ts
+
9
−
9
View file @
06ae17a4
import
{
XMLElement
}
from
"
../XMLElement
"
;
export
class
ExpandedUnc
extends
XMLElement
{
uncertainty
:
XMLElement
;
coverageFactor
:
XMLElement
;
coverageProbability
:
XMLElement
;
distribution
?:
XMLElement
;
si_
uncertainty
:
XMLElement
;
si_
coverageFactor
:
XMLElement
;
si_
coverageProbability
:
XMLElement
;
si_
distribution
?:
XMLElement
;
constructor
(
options
?:
Partial
<
ExpandedUnc
>
)
{
super
(
options
);
this
.
uncertainty
=
new
XMLElement
(
options
.
uncertainty
);
this
.
coverageFactor
=
new
XMLElement
(
options
.
coverageFactor
);
this
.
coverageProbability
=
new
XMLElement
(
options
.
coverageProbability
);
this
.
si_
uncertainty
=
new
XMLElement
(
options
.
si_
uncertainty
);
this
.
si_
coverageFactor
=
new
XMLElement
(
options
.
si_
coverageFactor
);
this
.
si_
coverageProbability
=
new
XMLElement
(
options
.
si_
coverageProbability
);
if
(
options
.
distribution
)
this
.
distribution
=
new
XMLElement
(
options
.
distribution
);
if
(
options
.
si_
distribution
)
this
.
si_
distribution
=
new
XMLElement
(
options
.
si_
distribution
);
}
}
This diff is collapsed.
Click to expand it.
src/d_si/Real.ts
+
16
−
16
View file @
06ae17a4
...
...
@@ -3,29 +3,29 @@ import { ExpandedUnc } from "./ExpandedUnc";
export
class
Real
extends
XMLElement
{
// TODO: Add missing types
label
?:
XMLElement
;
value
:
XMLElement
;
unit
:
XMLElement
;
dateTime
?:
XMLElement
;
si_
label
?:
XMLElement
;
si_
value
:
XMLElement
;
si_
unit
:
XMLElement
;
si_
dateTime
?:
XMLElement
;
expandedUnc
?:
ExpandedUnc
;
coverageInterval
?:
any
;
si_
expandedUnc
?:
ExpandedUnc
;
si_
coverageInterval
?:
any
;
constructor
(
options
?:
Partial
<
Real
>
)
{
super
(
options
);
if
(
options
.
label
)
this
.
label
=
new
XMLElement
(
options
.
label
);
if
(
options
.
si_
label
)
this
.
si_
label
=
new
XMLElement
(
options
.
si_
label
);
this
.
value
=
new
XMLElement
(
options
.
value
);
this
.
unit
=
new
XMLElement
(
options
.
unit
);
this
.
si_
value
=
new
XMLElement
(
options
.
si_
value
);
this
.
si_
unit
=
new
XMLElement
(
options
.
si_
unit
);
if
(
options
.
dateTime
)
this
.
dateTime
=
new
XMLElement
(
options
.
dateTime
);
if
(
options
.
si_
dateTime
)
this
.
si_
dateTime
=
new
XMLElement
(
options
.
si_
dateTime
);
if
(
options
.
expandedUnc
)
this
.
expandedUnc
=
new
ExpandedUnc
(
options
.
expandedUnc
);
else
if
(
options
.
coverageInterval
)
this
.
coverageInterval
=
options
.
coverageInterval
;
if
(
options
.
si_
expandedUnc
)
this
.
si_
expandedUnc
=
new
ExpandedUnc
(
options
.
si_
expandedUnc
);
else
if
(
options
.
si_
coverageInterval
)
this
.
si_
coverageInterval
=
options
.
si_
coverageInterval
;
}
}
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