Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gof-gateway
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
ds
gof-gateway
Commits
467623d1
Commit
467623d1
authored
5 years ago
by
Claudio Scafuri
Browse files
Options
Downloads
Patches
Plain Diff
correcte attribute name: MCPLLStatus_S7_7 -> MCPLLStatus_S5_7
parent
49a680e4
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/GofGateway.py
+7
-7
7 additions, 7 deletions
src/GofGateway.py
src/GofGateway.xmi
+1
-1
1 addition, 1 deletion
src/GofGateway.xmi
with
8 additions
and
8 deletions
src/GofGateway.py
+
7
−
7
View file @
467623d1
...
...
@@ -59,7 +59,7 @@ class GofGateway(Device):
label
=
"
BPM S1.7/MCPPLStatus
"
,
)
MCPLLStatus_S
7
_7
=
attribute
(
MCPLLStatus_S
5
_7
=
attribute
(
dtype
=
'
bool
'
,
label
=
"
BPM S5.7/MCPPLStatus
"
,
)
...
...
@@ -193,15 +193,15 @@ class GofGateway(Device):
return
self
.
get_state
()
not
in
[
DevState
.
UNKNOWN
,
DevState
.
INIT
]
# PROTECTED REGION END # // GofGateway.is_MCPLLStatus_S1_7_allowed
def
read_MCPLLStatus_S
7
_7
(
self
):
# PROTECTED REGION ID(GofGateway.MCPLLStatus_S
7
_7_read) ENABLED START #
def
read_MCPLLStatus_S
5
_7
(
self
):
# PROTECTED REGION ID(GofGateway.MCPLLStatus_S
5
_7_read) ENABLED START #
return
self
.
bpm57
.
read
().
value
# PROTECTED REGION END # // GofGateway.MCPLLStatus_S
7
_7_read
# PROTECTED REGION END # // GofGateway.MCPLLStatus_S
5
_7_read
def
is_MCPLLStatus_S
7
_7_allowed
(
self
,
attr
):
# PROTECTED REGION ID(GofGateway.is_MCPLLStatus_S
7
_7_allowed) ENABLED START #
def
is_MCPLLStatus_S
5
_7_allowed
(
self
,
attr
):
# PROTECTED REGION ID(GofGateway.is_MCPLLStatus_S
5
_7_allowed) ENABLED START #
return
self
.
get_state
()
not
in
[
DevState
.
UNKNOWN
,
DevState
.
INIT
]
# PROTECTED REGION END # // GofGateway.is_MCPLLStatus_S
7
_7_allowed
# PROTECTED REGION END # // GofGateway.is_MCPLLStatus_S
5
_7_allowed
def
read_MCPLLStatus_S9_7
(
self
):
# PROTECTED REGION ID(GofGateway.MCPLLStatus_S9_7_read) ENABLED START #
...
...
This diff is collapsed.
Click to expand it.
src/GofGateway.xmi
+
1
−
1
View file @
467623d1
...
...
@@ -37,7 +37,7 @@
<readExcludedStates>
UNKNOWN
</readExcludedStates>
<readExcludedStates>
INIT
</readExcludedStates>
</attributes>
<attributes
name=
"MCPLLStatus_S
7
_7"
attType=
"Scalar"
rwType=
"READ"
displayLevel=
"OPERATOR"
polledPeriod=
"0"
maxX=
""
maxY=
""
allocReadMember=
"true"
isDynamic=
"false"
>
<attributes
name=
"MCPLLStatus_S
5
_7"
attType=
"Scalar"
rwType=
"READ"
displayLevel=
"OPERATOR"
polledPeriod=
"0"
maxX=
""
maxY=
""
allocReadMember=
"true"
isDynamic=
"false"
>
<dataType
xsi:type=
"pogoDsl:BooleanType"
/>
<changeEvent
fire=
"false"
libCheckCriteria=
"false"
/>
<archiveEvent
fire=
"false"
libCheckCriteria=
"false"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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