Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
3efa3a6e
Commit
3efa3a6e
authored
Feb 26, 2021
by
潘栩锋
🚴
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
只是把 PUSH_DATA 的字符串改为 nameof() 而已
parent
d6493b28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PUSH_DATA.cs
...FLY.FlyADBase/FLY.Simulation.Flyad7/OBJProxy/PUSH_DATA.cs
+2
-2
No files found.
Project.FLY.FlyADBase/FLY.Simulation.Flyad7/OBJProxy/PUSH_DATA.cs
View file @
3efa3a6e
...
...
@@ -69,7 +69,7 @@ namespace FLY.Simulation.Flyad7.OBJProxy
void
Data_PropertyChanged
(
object
sender
,
System
.
ComponentModel
.
PropertyChangedEventArgs
e
)
{
if
(
e
.
PropertyName
==
"IStatus"
)
if
(
e
.
PropertyName
==
nameof
(
Data
.
IStatus
)
)
{
ostatus
=
Data
.
OStatus
;
UInt16
inchange
=
(
UInt16
)(
istatus
^
Data
.
IStatus
);
...
...
@@ -86,7 +86,7 @@ namespace FLY.Simulation.Flyad7.OBJProxy
pos2
=
Data
.
Position2
}.
ToBytes
());
}
else
if
((
e
.
PropertyName
==
"DriveStatus"
)||(
e
.
PropertyName
==
"Marker"
))
else
if
((
e
.
PropertyName
==
nameof
(
Data
.
DriveStatus
))||(
e
.
PropertyName
==
nameof
(
Data
.
Marker
)
))
{
CurrObjSys
.
PushObjInfoEx
(
this
,
FLYAD7_OBJ_INTERFACE
.
PUSH_DATA_INTERFACE
.
PUSH_STATUS
,
new
FLYAD7_OBJ_INTERFACE
.
DRIVE_MAN_INTERFACE
.
Pack_DriveState
...
...
潘栩锋
🚴
@panruising
mentioned in commit
809883b9
·
Mar 16, 2021
mentioned in commit
809883b9
mentioned in commit 809883b99cc7ee0830e23059c8b83385e117d3ca
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment