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
ae1b83d2
Commit
ae1b83d2
authored
Mar 07, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 修改 property 的 {get;set;}
parent
4032422a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
88 additions
and
407 deletions
+88
-407
HeatBuf.cs
...Y.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatBuf.cs
+66
-336
HeatCell.cs
....FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCell.cs
+17
-52
HeatChanged.cs
...edbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatChanged.cs
+3
-19
HeatCheck.cs
...FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCheck.cs
+2
-0
No files found.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatBuf.cs
View file @
ae1b83d2
This diff is collapsed.
Click to expand it.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCell.cs
View file @
ae1b83d2
...
...
@@ -7,6 +7,7 @@ using System.Collections.ObjectModel;
using
System.ComponentModel
;
using
FLY.FeedbackRenZiJia.Common
;
using
FLY.FeedbackRenZiJia.IService
;
using
PropertyChanged
;
namespace
FLY.FeedbackRenZiJia.Server
{
...
...
@@ -62,77 +63,41 @@ namespace FLY.FeedbackRenZiJia.Server
#
endregion
#
region
状态
int
[]
thickpercents
;
/// <summary>
/// 对应的100% 数据,单位是% 数量是BoltCnt, 数据肯定是完整的!!!!!
/// </summary>
public
int
[]
ThickPercents
{
get
{
return
thickpercents
;
}
set
{
thickpercents
=
value
;
NotifyPropertyChanged
(
"ThickPercents"
);
}
}
[
DoNotCheckEquality
]
public
int
[]
ThickPercents
{
get
;
set
;
}
int
[]
heats
;
/// <summary>
/// 当前方向的加热策略,必须保证 0~100
/// </summary>
public
int
[]
Heats
{
get
{
return
heats
;
}
protected
set
{
heats
=
value
;
NotifyPropertyChanged
(
"Heats"
);
}
}
[
DoNotCheckEquality
]
public
int
[]
Heats
{
get
;
protected
set
;
}
private
int
Base
{
get
;
set
;
}
=
0
;
int
[]
offsets
;
/// <summary>
/// 加热偏移量
/// </summary>
public
int
[]
Offsets
{
get
{
return
offsets
;
}
protected
set
{
offsets
=
value
;
NotifyPropertyChanged
(
"Offsets"
);
}
}
[
DoNotCheckEquality
]
public
int
[]
Offsets
{
get
;
protected
set
;
}
int
[]
preheats
;
/// <summary>
/// Heats+Offsets+Base
/// </summary>
public
int
[]
PreHeats
{
get
{
return
preheats
;
}
protected
set
{
preheats
=
value
;
NotifyPropertyChanged
(
"PreHeats"
);
}
}
[
DoNotCheckEquality
]
public
int
[]
PreHeats
{
get
;
protected
set
;
}
/// <summary>
/// 加热量 每3个计算的sigma,最大值
...
...
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatChanged.cs
View file @
ae1b83d2
...
...
@@ -26,18 +26,8 @@ namespace FLY.FeedbackRenZiJia.Server
public
int
[]
Heats
;
//加热
}
DateTime
last
=
DateTime
.
MinValue
;
public
DateTime
Last
{
get
{
return
last
;
}
set
{
if
(
last
!=
value
)
{
last
=
value
;
NotifyPropertyChanged
(
"Last"
);
}
}
}
public
DateTime
Last
{
get
;
set
;
}
=
DateTime
.
MinValue
;
/// <summary>
...
...
@@ -120,13 +110,7 @@ namespace FLY.FeedbackRenZiJia.Server
#
region
INotifyPropertyChanged
成员
public
event
PropertyChangedEventHandler
PropertyChanged
;
protected
void
NotifyPropertyChanged
(
string
propertyname
)
{
if
(
PropertyChanged
!=
null
)
{
PropertyChanged
.
Invoke
(
this
,
new
PropertyChangedEventArgs
(
propertyname
));
}
}
#
endregion
}
}
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCheck.cs
View file @
ae1b83d2
...
...
@@ -6,6 +6,7 @@ using System.Collections.ObjectModel;
using
System.ComponentModel
;
using
FLY.FeedbackRenZiJia.IService
;
using
FLY.FeedbackRenZiJia.Common
;
using
PropertyChanged
;
namespace
FLY.FeedbackRenZiJia.Server
{
...
...
@@ -75,6 +76,7 @@ namespace FLY.FeedbackRenZiJia.Server
/// <summary>
/// 坏的加热棒
/// </summary>
[
DoNotCheckEquality
]
public
bool
[]
Bads
{
get
;
set
;
}
...
...
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