Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hemei
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
潘栩锋
hemei
Commits
b2970e3c
Commit
b2970e3c
authored
Jun 21, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 IBC外风主界面 更新计划忘记更新, ExAir 的都没有改回来
parent
82a7ee96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
MainPanel2.xaml.cs
...ect.FLY.IBC/FLY.IBC.UI.Client/UIModule/MainPanel2.xaml.cs
+22
-22
No files found.
Project.FLY.IBC/FLY.IBC.UI.Client/UIModule/MainPanel2.xaml.cs
View file @
b2970e3c
...
@@ -47,24 +47,24 @@ namespace FLY.IBC.UI.Client.UiModule
...
@@ -47,24 +47,24 @@ namespace FLY.IBC.UI.Client.UiModule
ibcSystemService
.
PLCos
,
ibcSystemService
.
PLCos
,
ibcSystemService
.
Item
,
ibcSystemService
.
Item
,
new
string
[]
{
new
string
[]
{
"IsIBCAuto"
,
nameof
(
IBC
.
Common
.
IBCData
.
IsIBCAuto
)
,
"FilmWidth"
,
nameof
(
IBC
.
Common
.
IBCData
.
FilmWidth
)
,
"FilmWidthSet"
,
nameof
(
IBC
.
Common
.
IBCData
.
FilmWidthSet
)
,
"IsFilmWidthChanged"
,
nameof
(
IBC
.
Common
.
IBCData
.
IsFilmWidthChanged
)
,
"ErrorCorrection"
,
nameof
(
IBC
.
Common
.
IBCData
.
ErrorCorrection
)
,
"IsInletAirOn"
,
nameof
(
IBC
.
Common
.
IBCData
.
IsInletAirOn
)
,
"InletAirFreq"
,
nameof
(
IBC
.
Common
.
IBCData
.
InletAirFreq
)
,
"InletAirFreqSet"
,
nameof
(
IBC
.
Common
.
IBCData
.
InletAirFreqSet
)
,
"IsOutletAirOn"
,
nameof
(
IBC
.
Common
.
IBCData
.
IsOutletAirOn
)
,
"OutletAirFreq"
,
nameof
(
IBC
.
Common
.
IBCData
.
OutletAirFreq
)
,
"OutletAirFreqSet"
,
nameof
(
IBC
.
Common
.
IBCData
.
OutletAirFreqSet
)
,
"IsOutletAirFreqChanged"
,
nameof
(
IBC
.
Common
.
IBCData
.
IsOutletAirFreqChanged
)
,
"IsDownOutletAirOn"
,
nameof
(
IBC
.
Common
.
IBCData
.
IsExAirOn
)
,
"DownOutletAirFreq"
,
nameof
(
IBC
.
Common
.
IBCData
.
ExAirFreq
)
,
"DownOutletAirFreqSet"
,
nameof
(
IBC
.
Common
.
IBCData
.
ExAirFreqSet
)
});
});
container
.
BuildUp
(
ibcCtrlGraph
);
container
.
BuildUp
(
ibcCtrlGraph
);
...
@@ -73,14 +73,14 @@ namespace FLY.IBC.UI.Client.UiModule
...
@@ -73,14 +73,14 @@ namespace FLY.IBC.UI.Client.UiModule
private
async
void
Item_PropertyChanged
(
object
sender
,
System
.
ComponentModel
.
PropertyChangedEventArgs
e
)
private
async
void
Item_PropertyChanged
(
object
sender
,
System
.
ComponentModel
.
PropertyChangedEventArgs
e
)
{
{
if
((
ibcSystemService
is
IbcSystemServiceClient
)
&&
((
ibcSystemService
as
IbcSystemServiceClient
).
IsInPushValue
))
if
((
ibcSystemService
is
IbcSystemServiceClient
)
&&
((
ibcSystemService
as
IbcSystemServiceClient
).
IsInPushValue
))
return
;
return
;
if
(
e
.
PropertyName
==
"FilmWidthSet"
)
if
(
e
.
PropertyName
==
nameof
(
IBC
.
Common
.
IBCData
.
FilmWidthSet
))
{
{
await
Task
.
Delay
(
1000
);
//1s后触发通知
await
Task
.
Delay
(
1000
);
//1s后触发通知
ibcSystemService
.
Item
.
IsFilmWidthChanged
=
true
;
ibcSystemService
.
Item
.
IsFilmWidthChanged
=
true
;
}
}
else
if
(
e
.
PropertyName
==
"OutletAirFreqSet"
)
else
if
(
e
.
PropertyName
==
nameof
(
IBC
.
Common
.
IBCData
.
OutletAirFreqSet
)
)
{
{
await
Task
.
Delay
(
1000
);
//1s后触发通知
await
Task
.
Delay
(
1000
);
//1s后触发通知
ibcSystemService
.
Item
.
IsOutletAirFreqChanged
=
true
;
ibcSystemService
.
Item
.
IsOutletAirFreqChanged
=
true
;
...
@@ -137,7 +137,7 @@ namespace FLY.IBC.UI.Client.UiModule
...
@@ -137,7 +137,7 @@ namespace FLY.IBC.UI.Client.UiModule
/// 控件标题
/// 控件标题
/// 它的值取决于culture
/// 它的值取决于culture
/// </summary>
/// </summary>
public
string
Title
=>
"IBC主界面(
下吹
)"
;
public
string
Title
=>
"IBC主界面(
外风
)"
;
public
ComponentType
Type
=>
ComponentType
.
Graph
;
public
ComponentType
Type
=>
ComponentType
.
Graph
;
public
bool
IsUnique
=>
true
;
public
bool
IsUnique
=>
true
;
...
...
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