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
335b82d9
Commit
335b82d9
authored
Jul 26, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 添加 FLYAD7 每秒GetIO, 因为 输出口是没有推送的,当为变频器时,无法看到输出口的变化。
parent
8db7013a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
FlyAD7.cs
Project.FLY.FlyADBase/FlyADBase/FlyAD7.cs
+16
-0
No files found.
Project.FLY.FlyADBase/FlyADBase/FlyAD7.cs
View file @
335b82d9
...
@@ -125,6 +125,20 @@ namespace FlyADBase
...
@@ -125,6 +125,20 @@ namespace FlyADBase
}
}
},
TimeSpan
.
FromSeconds
(
1
));
},
TimeSpan
.
FromSeconds
(
1
));
//每隔1秒发送一次 GetIO
PollModule
.
Current
.
Poll_Config
(
PollModule
.
POLL_CONFIG
.
ADD
,
()
=>
{
if
(!
IsConnected
)
return
;
//FLYIO
CurrObjSys
.
GetValueEx
(
conn
,
FLYAD7_OBJ_INTERFACE
.
FLYIO_OBJ_INTERFACE
.
ID
,
ID
,
FLYAD7_OBJ_INTERFACE
.
FLYIO_OBJ_INTERFACE
.
GET_IO
);
},
TimeSpan
.
FromSeconds
(
1
));
constructor2
();
constructor2
();
}
}
...
@@ -365,6 +379,8 @@ namespace FlyADBase
...
@@ -365,6 +379,8 @@ namespace FlyADBase
ID
,
ID
,
FLYAD7_OBJ_INTERFACE
.
FLYIO_OBJ_INTERFACE
.
GET_IO
);
FLYAD7_OBJ_INTERFACE
.
FLYIO_OBJ_INTERFACE
.
GET_IO
);
NotifyPropertyChanged
(
nameof
(
Pos1LCShift
));
//写入到AD盒
NotifyPropertyChanged
(
nameof
(
Pos1LCShift
));
//写入到AD盒
...
...
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