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
36c81e1c
Commit
36c81e1c
authored
Jan 02, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除了 BulkData 代码整理
parent
46323b10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
30 deletions
+16
-30
FLY.Thick.Blowing.csproj
....Thick.Blowing/FLY.Thick.Blowing/FLY.Thick.Blowing.csproj
+0
-4
TDGage.cs
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/Server/TDGage.cs
+16
-26
No files found.
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/FLY.Thick.Blowing.csproj
View file @
36c81e1c
...
...
@@ -118,10 +118,6 @@
<Project>
{91a1aafe-a528-4c2e-a48a-9259e780255a}
</Project>
<Name>
FLY.Thick.Base
</Name>
</ProjectReference>
<ProjectReference
Include=
"..\..\thick_public\Project.FLY.Thick.BulkData\FLY.Thick.BulkData\FLY.Thick.BulkDataModule.csproj"
>
<Project>
{2f88b5ec-85bc-4b5e-b254-06d2f2771f67}
</Project>
<Name>
FLY.Thick.BulkDataModule
</Name>
</ProjectReference>
<ProjectReference
Include=
"..\..\thick_public\Project.SQLiteHelper\SQLiteHelper\SQLiteHelper.csproj"
>
<Project>
{4CBABFAA-1C62-4510-AC63-A51EE5FD50FF}
</Project>
<Name>
SQLiteHelper
</Name>
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/Server/TDGage.cs
View file @
36c81e1c
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Reflection
;
using
System.IO
;
using
System.Net
;
using
System.Diagnostics
;
using
System.ComponentModel
;
using
Misc
;
using
FObjBase
;
using
FlyADBase
;
using
FLY.Thick.Base.Common
;
using
FLY.Thick.Base.IService
;
using
FLY.Thick.Base.Common
;
using
FLY.Thick.Base.Server
;
using
FLY.Thick.RemoteHistory
;
using
FLY.Thick.BulkDataModule
;
using
FLY.Thick.Blowing.Server.Model
;
using
FlyADBase
;
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Diagnostics
;
using
System.IO
;
using
System.Threading.Tasks
;
namespace
FLY.Thick.Blowing.Server
...
...
@@ -148,7 +138,7 @@ namespace FLY.Thick.Blowing.Server
#
region
create
sysParam
=
new
SysParam
(
null
);
//系统参数
profile
=
new
BlowingFixProfile
(
null
);
//运行配置参数
curve
=
new
CurveCollection
(
null
);
//AD转thick
...
...
@@ -203,9 +193,9 @@ namespace FLY.Thick.Blowing.Server
{
dynArea
.
Target
=
(
int
)(
profile
.
Param
.
Target
*
100
);
});
Misc
.
BindingOperations
.
SetBinding
(
profile
.
Param
,
new
string
[]
{
"Target"
,
"TolerancePercent"
},
()
=>
Misc
.
BindingOperations
.
SetBinding
(
profile
.
Param
,
new
string
[]
{
"Target"
,
"TolerancePercent"
},
()
=>
{
dynArea
.
Alarm
=
(
int
)(
profile
.
Param
.
Target
*
profile
.
Param
.
TolerancePercent
*
100
);
dynArea
.
Alarm
=
(
int
)(
profile
.
Param
.
Target
*
profile
.
Param
.
TolerancePercent
*
100
);
});
Misc
.
BindingOperations
.
SetBinding
(
profile
.
Param
,
"K"
,
dynArea
,
"Comp"
);
...
...
@@ -256,7 +246,7 @@ namespace FLY.Thick.Blowing.Server
//---------------------------------------------------------------------------------------------------------------
//ScanWarning_Create
scanWarning
.
Init
(
warning
,
historyDb
);
scanWarning
.
Init
(
warning
,
historyDb
);
...
...
@@ -266,7 +256,7 @@ namespace FLY.Thick.Blowing.Server
gmFix
.
Init
(
dynArea
,
AD2Thick
);
gmFix
.
IsIgnoreDataWhenIdle
=
false
;
gmManager
.
AddGM
(
gmFix
);
//---------------------------------------------------------------------------------------------------------------
//GM_RenZiJiaFix_Create
...
...
@@ -278,7 +268,7 @@ namespace FLY.Thick.Blowing.Server
//Bulkdate_Create
//gmRenZiJiaFix.Init(Ad2Thk, dynArea, profile.Param, historyDb,orgHistoryDb, bulkDb );
gmRenZiJiaFix
.
Init
(
Ad2Thk
,
dynArea
,
profile
.
Param
,
historyDb
,
bulkDb
);
...
...
@@ -363,7 +353,7 @@ namespace FLY.Thick.Blowing.Server
{
errno
=
FLY
.
Thick
.
Blowing
.
Common
.
ERRNOs
.
BASE_ERRNO_AD_MIN
,
cnt
=
20
,
conditional
=
delegate
()
conditional
=
delegate
()
{
return
dynArea
.
AD
<
(
dynArea
.
ADMax
*
0.01
);
}
...
...
@@ -374,7 +364,7 @@ namespace FLY.Thick.Blowing.Server
{
errno
=
FLY
.
Thick
.
Blowing
.
Common
.
ERRNOs
.
BASE_ERRNO_AD_MAX
,
cnt
=
20
,
conditional
=
delegate
()
conditional
=
delegate
()
{
return
(
dynArea
.
AD
>
(
dynArea
.
ADMax
*
0.98
));
}
...
...
@@ -512,7 +502,7 @@ namespace FLY.Thick.Blowing.Server
if
(
Misc
.
MyBase
.
ISVALIDATA
(
ad
))
{
thick
=
curve
.
AD2Value
(
ad
,
AD2ValueFlag
.
Revised
);
thick
=
(
int
)(
thick
*
profile
.
Param
.
K
);
}
return
thick
;
...
...
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