Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BaSys4Forestry - Projektmanagement
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informations- und Automatisierungssysteme
BaSys4Forestry - Projektmanagement
Commits
adfbc966
Commit
adfbc966
authored
Jun 19, 2023
by
zrgt
Browse files
Options
Downloads
Patches
Plain Diff
Remove name from ZuFaellendeBaeume
parent
15ed405a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
demos/demo2/demo2_dzwald.py
+0
-1
0 additions, 1 deletion
demos/demo2/demo2_dzwald.py
model/models.py
+0
-2
0 additions, 2 deletions
model/models.py
with
0 additions
and
3 deletions
demos/demo2/demo2_dzwald.py
+
0
−
1
View file @
adfbc966
...
@@ -288,7 +288,6 @@ def create_zu_faellende_baeume():
...
@@ -288,7 +288,6 @@ def create_zu_faellende_baeume():
zufaellendebaeume
=
models
.
ZuFaellendeBaeume
(
zufaellendebaeume
=
models
.
ZuFaellendeBaeume
(
id
=
"
https://www.company.com/submodels/zu_faellende_baeume
"
,
id
=
"
https://www.company.com/submodels/zu_faellende_baeume
"
,
name
=
"
Baueme zu faellen
"
,
beschreibung
=
"
Baueme sollen demnaechst gefaellt werden
"
,
beschreibung
=
"
Baueme sollen demnaechst gefaellt werden
"
,
umring
=
umring
,
umring
=
umring
,
position
=
create_standort
(),
position
=
create_standort
(),
...
...
This diff is collapsed.
Click to expand it.
model/models.py
+
0
−
2
View file @
adfbc966
...
@@ -418,14 +418,12 @@ class Sortiment(SubmodelElementCollection):
...
@@ -418,14 +418,12 @@ class Sortiment(SubmodelElementCollection):
class
ZuFaellendeBaeume
(
Submodel
):
class
ZuFaellendeBaeume
(
Submodel
):
def
__init__
(
self
,
def
__init__
(
self
,
id
:
Identifier
,
id
:
Identifier
,
name
:
str
,
beschreibung
:
str
,
beschreibung
:
str
,
umring
:
Umring
,
umring
:
Umring
,
position
:
Optional
[
Standort
]
=
None
,
position
:
Optional
[
Standort
]
=
None
,
baumliste
:
Optional
[
Iterable
[
StehenderBaum
]]
=
None
,
baumliste
:
Optional
[
Iterable
[
StehenderBaum
]]
=
None
,
):
):
super
().
__init__
(
id_
=
id
,
**
deepcopy
(
KWARGS
[
ZU_FAELLENDE_BAEUME
]))
super
().
__init__
(
id_
=
id
,
**
deepcopy
(
KWARGS
[
ZU_FAELLENDE_BAEUME
]))
self
.
add_referable
(
Property
(
value
=
name
,
**
deepcopy
(
KWARGS
[
NAME
])))
self
.
add_referable
(
Property
(
value
=
beschreibung
,
**
deepcopy
(
KWARGS
[
BESCHREIBUNG
])))
self
.
add_referable
(
Property
(
value
=
beschreibung
,
**
deepcopy
(
KWARGS
[
BESCHREIBUNG
])))
self
.
add_referable
(
umring
)
self
.
add_referable
(
umring
)
if
position
:
if
position
:
...
...
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