Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
access-node
Manage
Activity
Members
Labels
Plan
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LuFG VR VIS
VR-Group
In Situ Pipeline
access-node
Commits
a33d1aeb
Commit
a33d1aeb
authored
4 years ago
by
Jan Müller
Browse files
Options
Downloads
Patches
Plain Diff
Fix MultimeterMeasurementModel
parent
19aeaef9
No related branches found
Branches containing commit
Tags
0.1.0
Tags containing commit
1 merge request
!4
Feature/add arbor support
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
access_node/models/multimeter_measurement.py
+16
-16
16 additions, 16 deletions
access_node/models/multimeter_measurement.py
access_node/swagger/swagger.yaml
+3
-3
3 additions, 3 deletions
access_node/swagger/swagger.yaml
with
19 additions
and
19 deletions
access_node/models/multimeter_measurement.py
+
16
−
16
View file @
a33d1aeb
...
...
@@ -15,30 +15,30 @@ class MultimeterMeasurement(Model):
Do not edit the class manually.
"""
def
__init__
(
self
,
simulation_times
:
List
[
float
]
=
None
,
probe_
ids
:
List
[
int
]
=
None
,
values
:
List
[
float
]
=
None
):
# noqa: E501
def
__init__
(
self
,
simulation_times
:
List
[
float
]
=
None
,
g
ids
:
List
[
int
]
=
None
,
values
:
List
[
float
]
=
None
):
# noqa: E501
"""
MultimeterMeasurement - a model defined in Swagger
:param simulation_times: The simulation_times of this MultimeterMeasurement. # noqa: E501
:type simulation_times: List[float]
:param
probe_
ids: The
probe_
ids of this MultimeterMeasurement. # noqa: E501
:type
probe_
ids: List[int]
:param
g
ids: The
g
ids of this MultimeterMeasurement. # noqa: E501
:type
g
ids: List[int]
:param values: The values of this MultimeterMeasurement. # noqa: E501
:type values: List[float]
"""
self
.
swagger_types
=
{
'
simulation_times
'
:
List
[
float
],
'
probe_
ids
'
:
List
[
int
],
'
g
ids
'
:
List
[
int
],
'
values
'
:
List
[
float
]
}
self
.
attribute_map
=
{
'
simulation_times
'
:
'
simulation_times
'
,
'
probe_
ids
'
:
'
probe_
ids
'
,
'
g
ids
'
:
'
g
ids
'
,
'
values
'
:
'
values
'
}
self
.
_simulation_times
=
simulation_times
self
.
_
probe_ids
=
probe_
ids
self
.
_
gids
=
g
ids
self
.
_values
=
values
@classmethod
...
...
@@ -76,25 +76,25 @@ class MultimeterMeasurement(Model):
self
.
_simulation_times
=
simulation_times
@property
def
probe_
ids
(
self
)
->
List
[
int
]:
"""
Gets the
probe_
ids of this MultimeterMeasurement.
def
g
ids
(
self
)
->
List
[
int
]:
"""
Gets the
g
ids of this MultimeterMeasurement.
:return: The
probe_
ids of this MultimeterMeasurement.
:return: The
g
ids of this MultimeterMeasurement.
:rtype: List[int]
"""
return
self
.
_
probe_
ids
return
self
.
_
g
ids
@
probe_
ids.setter
def
probe_
ids
(
self
,
probe_
ids
:
List
[
int
]):
"""
Sets the
probe_
ids of this MultimeterMeasurement.
@
g
ids.setter
def
g
ids
(
self
,
g
ids
:
List
[
int
]):
"""
Sets the
g
ids of this MultimeterMeasurement.
:param
probe_
ids: The
probe_
ids of this MultimeterMeasurement.
:type
probe_
ids: List[int]
:param
g
ids: The
g
ids of this MultimeterMeasurement.
:type
g
ids: List[int]
"""
self
.
_
probe_ids
=
probe_
ids
self
.
_
gids
=
g
ids
@property
def
values
(
self
)
->
List
[
float
]:
...
...
This diff is collapsed.
Click to expand it.
access_node/swagger/swagger.yaml
+
3
−
3
View file @
a33d1aeb
...
...
@@ -616,15 +616,15 @@ definitions:
items
:
type
:
"
number"
format
:
"
double"
probe_
ids
:
g
ids
:
type
:
"
array"
items
:
type
:
"
integer"
format
:
"
uint64"
values
:
type
:
"
array"
description
:
"
This
array
contains
the
measured
values
for
each
probe
and
time
\
\
to
get
the
value
for
probe
n
at
time
t
you
have
to
use
the
index
n
*
length(simulation_times)
\
description
:
"
This
array
contains
the
measured
values
for
each
gid
and
time
\
\
to
get
the
value
for
gid
n
at
time
t
you
have
to
use
the
index
n
*
length(simulation_times)
\
\
+
t"
items
:
type
:
"
number"
...
...
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