Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
thick-casting
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-casting
Commits
e44f9bce
Commit
e44f9bce
authored
Nov 23, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 自动模头!!!!!
parent
a66d8cb2
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
98 additions
and
43 deletions
+98
-43
FLY.Thick.FilmCasting.sln
FLY.Thick.FilmCasting.sln
+31
-0
ScanGraphVmUt.cs
...Y.Thick.FilmCasting.UI.Server/PicHistory/ScanGraphVmUt.cs
+1
-1
FLY.Thick.FilmCasting.UI.csproj
.../FLY.Thick.FilmCasting.UI/FLY.Thick.FilmCasting.UI.csproj
+1
-1
BoltMapFilmCastingServiceClient.cs
...ick.FilmCasting/Client/BoltMapFilmCastingServiceClient.cs
+21
-2
BulkDbServiceClient.cs
...sting/FLY.Thick.FilmCasting/Client/BulkDbServiceClient.cs
+0
-8
IBoltMapFilmCastingService.cs
....Thick.FilmCasting/IService/IBoltMapFilmCastingService.cs
+20
-0
IBulkDbService.cs
...mCasting/FLY.Thick.FilmCasting/IService/IBulkDbService.cs
+0
-3
OBJProxy.cs
...Casting/FLY.Thick.FilmCasting/Server.OBJProxy/OBJProxy.cs
+0
-1
GM_Scan.cs
...Thick.FilmCasting/FLY.Thick.FilmCasting/Server/GM_Scan.cs
+1
-1
BulkDb.cs
....FilmCasting/FLY.Thick.FilmCasting/Server/Model/BulkDb.cs
+0
-5
DbTable.cs
...FilmCasting/FLY.Thick.FilmCasting/Server/Model/DbTable.cs
+1
-1
LcTable.cs
...FilmCasting/FLY.Thick.FilmCasting/Server/Model/LcTable.cs
+1
-1
TDGage.cs
....Thick.FilmCasting/FLY.Thick.FilmCasting/Server/TDGage.cs
+20
-18
thick_public
thick_public
+1
-1
No files found.
FLY.Thick.FilmCasting.sln
View file @
e44f9bce
...
...
@@ -47,6 +47,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FLY.Thick.FilmCasting.UI.Db
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{BC3B8548-3586-4FD1-ADDE-3E524825848D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AutoDie", "AutoDie", "{7CC06908-ED93-4B0A-81B8-55E11E04930A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FLY.FilmCasting.AutoDie", "Project.FLY.FilmCasting.AutoDie\FLY.FilmCasting.AutoDie\FLY.FilmCasting.AutoDie.csproj", "{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FLY.FilmCasting.AutoDie.UI.Server", "Project.FLY.FilmCasting.AutoDie\FLY.FilmCasting.AutoDie.UI.Server\FLY.FilmCasting.AutoDie.UI.Server.csproj", "{FB1D06A7-081C-48B7-A3D9-136C7162BB9F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FLY.FilmCasting.AutoDie.UI.Client", "Project.FLY.FilmCasting.AutoDie\FLY.FilmCasting.AutoDie.UI.Client\FLY.FilmCasting.AutoDie.UI.Client.csproj", "{51DE4702-EABC-4984-91AA-61B7D17F7742}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -213,6 +221,26 @@ Global
{BC3B8548-3586-4FD1-ADDE-3E524825848D}.Release|Any CPU.Build.0 = Release|Any CPU
{BC3B8548-3586-4FD1-ADDE-3E524825848D}.Release|x86.ActiveCfg = Release|Any CPU
{BC3B8548-3586-4FD1-ADDE-3E524825848D}.Release|x86.Build.0 = Release|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Debug|x86.ActiveCfg = Debug|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Debug|x86.Build.0 = Debug|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Release|Any CPU.Build.0 = Release|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Release|x86.ActiveCfg = Release|Any CPU
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB}.Release|x86.Build.0 = Release|Any CPU
{FB1D06A7-081C-48B7-A3D9-136C7162BB9F}.Debug|Any CPU.ActiveCfg = Debug|x86
{FB1D06A7-081C-48B7-A3D9-136C7162BB9F}.Debug|x86.ActiveCfg = Debug|x86
{FB1D06A7-081C-48B7-A3D9-136C7162BB9F}.Debug|x86.Build.0 = Debug|x86
{FB1D06A7-081C-48B7-A3D9-136C7162BB9F}.Release|Any CPU.ActiveCfg = Release|x86
{FB1D06A7-081C-48B7-A3D9-136C7162BB9F}.Release|x86.ActiveCfg = Release|x86
{FB1D06A7-081C-48B7-A3D9-136C7162BB9F}.Release|x86.Build.0 = Release|x86
{51DE4702-EABC-4984-91AA-61B7D17F7742}.Debug|Any CPU.ActiveCfg = Debug|x86
{51DE4702-EABC-4984-91AA-61B7D17F7742}.Debug|x86.ActiveCfg = Debug|x86
{51DE4702-EABC-4984-91AA-61B7D17F7742}.Debug|x86.Build.0 = Debug|x86
{51DE4702-EABC-4984-91AA-61B7D17F7742}.Release|Any CPU.ActiveCfg = Release|x86
{51DE4702-EABC-4984-91AA-61B7D17F7742}.Release|x86.ActiveCfg = Release|x86
{51DE4702-EABC-4984-91AA-61B7D17F7742}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
@@ -237,6 +265,9 @@ Global
{E643CAB2-E0F2-4B53-9FDA-0A4D57205FEF} = {084448C0-49B0-44CE-850E-24E6DBE224D1}
{706A1CB8-2F7D-4FE8-B71C-2A636AE898D3} = {084448C0-49B0-44CE-850E-24E6DBE224D1}
{C417AD1B-052E-473A-892D-BFB99938598B} = {084448C0-49B0-44CE-850E-24E6DBE224D1}
{3FAF02DE-B9E8-4DDA-A8E4-7A99E6E53ACB} = {7CC06908-ED93-4B0A-81B8-55E11E04930A}
{FB1D06A7-081C-48B7-A3D9-136C7162BB9F} = {7CC06908-ED93-4B0A-81B8-55E11E04930A}
{51DE4702-EABC-4984-91AA-61B7D17F7742} = {7CC06908-ED93-4B0A-81B8-55E11E04930A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2E6E5899-CCF7-4DE1-BE64-7EB93DC24D73}
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.Server/PicHistory/ScanGraphVmUt.cs
View file @
e44f9bce
...
...
@@ -58,7 +58,7 @@ namespace FLY.Thick.FilmCasting.UI.Server
scanData
=
new
Lc_ScanData
{
ID
=
1234456
,
FilmWidth
=
profileParam
.
DataRange
.
Width
*
25.4
*
(
1
-
0.03
),
FilmWidth
=
(
int
)(
profileParam
.
DataRange
.
Width
*
25.4
*
(
1
-
0.03
)
),
FilmVelocity
=
40.1
,
FilmPosition
=
800.4
,
Time
=
DateTime
.
Now
.
AddSeconds
(-
30
),
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI/FLY.Thick.FilmCasting.UI.csproj
View file @
e44f9bce
...
...
@@ -312,7 +312,7 @@
</ProjectReference>
<ProjectReference
Include=
"..\FLY.Thick.FilmCasting\FLY.Thick.FilmCasting.csproj"
>
<Project>
{e2bd6ff0-64c5-46fb-aa37-9b1f75ec6500}
</Project>
<Name>
FLY.Thick.
Calender
</Name>
<Name>
FLY.Thick.
FilmCasting
</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Client/BoltMapFilmCastingServiceClient.cs
View file @
e44f9bce
...
...
@@ -44,16 +44,35 @@ namespace FLY.Thick.FilmCasting.Client
#
region
状态
/// <summary>
/// 左单边不工作螺丝位
/// </summary>
public
int
LeftEmptyBolts
{
get
;
set
;
}
/// <summary>
/// 右单边不工作螺丝位
/// </summary>
public
int
RightEmptyBolts
{
get
;
set
;
}
/// <summary>
/// 收缩率 Uniform(均匀区)Shrink(收缩)Percent(比例)
/// </summary>
public
double
UniformShrinkPercent
{
get
;
set
;
}
/// <summary>
/// 膜中心位置偏移 mm
/// </summary>
public
int
MidOffset
{
get
;
set
;
}
/// <summary>
/// 总分区数
/// </summary>
public
int
NBolts
{
get
;
}
public
int
NBolts
{
get
;
set
;
}
/// <summary>
/// 第1个分区号
/// </summary>
public
int
FirstBoltNo
{
get
;
}
public
int
FirstBoltNo
{
get
;
set
;
}
#
endregion
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Client/BulkDbServiceClient.cs
View file @
e44f9bce
...
...
@@ -36,14 +36,6 @@ namespace FLY.Thick.FilmCasting.Client
TempFrameChanged
?.
Invoke
(
this
,
e
);
}
public
event
EventHandler
ScanDataIdChanged
;
public
void
Trigger_ScanDataIdChanged
(
ScanDataIdChangedEventArgs
e
)
{
ScanDataIdChanged
?.
Invoke
(
this
,
e
);
}
public
void
GetTempFrame
(
AsyncCBHandler
asyncDelegate
,
object
asyncContext
)
{
Call
(
nameof
(
GetTempFrame
),
null
,
asyncDelegate
,
asyncContext
);
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/IService/IBoltMapFilmCastingService.cs
View file @
e44f9bce
...
...
@@ -40,6 +40,26 @@ namespace FLY.Thick.FilmCasting.IService
#
region
状态
/// <summary>
/// 左单边不工作螺丝位
/// </summary>
int
LeftEmptyBolts
{
get
;
}
/// <summary>
/// 右单边不工作螺丝位
/// </summary>
int
RightEmptyBolts
{
get
;
}
/// <summary>
/// 收缩率 Uniform(均匀区)Shrink(收缩)Percent(比例)
/// </summary>
double
UniformShrinkPercent
{
get
;
}
/// <summary>
/// 膜中心位置偏移 mm
/// </summary>
int
MidOffset
{
get
;
}
/// <summary>
/// 总分区数
/// </summary>
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/IService/IBulkDbService.cs
View file @
e44f9bce
...
...
@@ -45,9 +45,6 @@ namespace FLY.Thick.FilmCasting.IService
/// </summary>
bool
IsFinished
{
get
;
}
[
Push
(
typeof
(
ScanDataIdChangedEventArgs
))]
event
EventHandler
ScanDataIdChanged
;
/// <summary>
/// 临时数据改变
/// </summary>
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server.OBJProxy/OBJProxy.cs
View file @
e44f9bce
...
...
@@ -61,7 +61,6 @@ namespace FLY.Thick.FilmCasting.Server.OBJProxy
var
bulkDbObjProxy
=
new
FObjBase
.
Reflect
.
Reflect_Proxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULKDB_ID
,
typeof
(
IBulkDbService
),
gage
.
bulkDb
);
var
rejectObjProxy
=
new
FObjBase
.
Reflect
.
Reflect_Proxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
REJECT_ID
,
typeof
(
IRejectService
),
gage
.
reject
);
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server/GM_Scan.cs
View file @
e44f9bce
...
...
@@ -181,7 +181,7 @@ namespace FLY.Thick.FilmCasting.Server
B
=
profileParam
.
B
,
FilmVelocity
=
Math
.
Round
(
dynArea
.
FilmVelocity
,
1
),
FilmPosition
=
Math
.
Round
(
dynArea
.
FilmPosition
,
2
),
FilmWidth
=
Math
.
Round
(
dynArea
.
Width
,
0
),
FilmWidth
=
(
int
)
Math
.
Round
(
dynArea
.
Width
,
0
),
Avg
=
avg
,
Thicks
=
thicks
,
SampleADs
=
sampleAds
.
ToArray
(),
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server/Model/BulkDb.cs
View file @
e44f9bce
...
...
@@ -71,9 +71,6 @@ namespace FLY.Thick.FilmCasting.Server.Model
public
Func
<
BulkDbTempFrameChangedEventArgs
>
GetTempFrameAction
;
[
Push
(
typeof
(
ScanDataIdChangedEventArgs
))]
public
event
EventHandler
ScanDataIdChanged
;
/// <summary>
///
/// </summary>
...
...
@@ -152,8 +149,6 @@ namespace FLY.Thick.FilmCasting.Server.Model
LastScanDataId
=
e
.
scandata
.
ID
;
LastTimestamp
=
DateTime
.
Now
;
ScanDataIdChanged
?.
Invoke
(
this
,
new
ScanDataIdChangedEventArgs
()
{
LastScanDataId
=
LastScanDataId
});
}
/// <summary>
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server/Model/DbTable.cs
View file @
e44f9bce
...
...
@@ -159,7 +159,7 @@ namespace FLY.Thick.FilmCasting.Server.Model
/// 膜宽度 mm
/// </summary>
[
PropertyIndex
(
10
)]
public
double
FilmWidth
{
get
;
set
;
}
public
int
FilmWidth
{
get
;
set
;
}
/// <summary>
/// 厚度均值
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server/Model/LcTable.cs
View file @
e44f9bce
...
...
@@ -38,7 +38,7 @@ namespace FLY.Thick.FilmCasting.Server.Model
/// <summary>
/// 膜宽度 mm
/// </summary>
public
double
FilmWidth
{
get
;
set
;
}
public
int
FilmWidth
{
get
;
set
;
}
/// <summary>
/// 厚度均值
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server/TDGage.cs
View file @
e44f9bce
...
...
@@ -2,9 +2,7 @@
using
FLY.Thick.Base.IService
;
using
FLY.Thick.Base.Server
;
using
FLY.Thick.FilmCasting.Common
;
using
FLY.Thick.FilmCasting.Server
;
using
FLY.Thick.FilmCasting.Server.Model
;
using
FLY.Thick.RemoteHistory
;
using
FlyADBase
;
using
FObjBase
;
...
...
@@ -12,7 +10,6 @@ using Misc;
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Diagnostics
;
using
System.IO
;
using
System.Linq
;
using
System.Threading.Tasks
;
...
...
@@ -321,7 +318,7 @@ namespace FLY.Thick.FilmCasting.Server
initParam
.
PropertyChanged
+=
(
s
,
e
)
=>
{
if
((
e
.
PropertyName
==
nameof
(
initParam
.
Encoder1_mmpp
))
||(
e
.
PropertyName
==
nameof
(
initParam
.
PosLength
)))
||
(
e
.
PropertyName
==
nameof
(
initParam
.
PosLength
)))
{
updateBoltmap
();
}
...
...
@@ -334,7 +331,8 @@ namespace FLY.Thick.FilmCasting.Server
{
updateBoltmap
();
}
else
if
(
e
.
PropertyName
==
nameof
(
profileParam
.
MidOffset
))
{
else
if
(
e
.
PropertyName
==
nameof
(
profileParam
.
MidOffset
))
{
boltmap
.
MidOffset
=
profileParam
.
MidOffset
;
}
};
...
...
@@ -387,7 +385,8 @@ namespace FLY.Thick.FilmCasting.Server
flyAd
.
Connect
();
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
HardwareVersion
),
()
=>
{
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
HardwareVersion
),
()
=>
{
FlyADIODefine
.
SetInstance
(
new
FlyADIODefine
());
FlyADIODefine
.
Instance
.
SerVersion
(
flyAd
.
HardwareVersion
);
});
...
...
@@ -399,7 +398,8 @@ namespace FLY.Thick.FilmCasting.Server
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
OStatus
),
DynArea
,
nameof
(
DynArea
.
OStatus
));
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
Position
),
DynArea
,
nameof
(
DynArea
.
Position
));
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
Position
),
()
=>
{
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
Position
),
()
=>
{
DynArea
.
PosMm
=
flyAd
.
Position
*
initParam
.
Encoder1_mmpp
;
//mm
});
...
...
@@ -409,7 +409,8 @@ namespace FLY.Thick.FilmCasting.Server
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
PosOfGrid
),
initParam
,
nameof
(
initParam
.
PosOfGrid
));
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
Speed
),
()
=>
{
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
nameof
(
flyAd
.
Speed
),
()
=>
{
double
speed
=
flyAd
.
Speed
*
initParam
.
Encoder1_mmpp
;
//mm/s
speed
=
speed
*
60
/
1000
;
//m/min
DynArea
.
Velocity
=
speed
;
...
...
@@ -417,7 +418,8 @@ namespace FLY.Thick.FilmCasting.Server
Misc
.
BindingOperations
.
SetBinding
(
flyAd
,
new
string
[]
{
nameof
(
flyAd
.
Ratio02
),
nameof
(
flyAd
.
Ratio01
)
},
()
=>
{
()
=>
{
initParam
.
Speed1Scale
=
(
double
)
flyAd
.
Ratio02
/
flyAd
.
Ratio01
;
});
...
...
@@ -613,7 +615,7 @@ namespace FLY.Thick.FilmCasting.Server
if
(
timer
==
0
)
{
mWarning
.
Add
(
errno
.
Code
,
errno
.
Descrption
);
mWarning
.
Add
(
errno
.
Code
,
errno
.
Descrption
);
}
}
}
...
...
thick_public
@
00b4f2b1
Subproject commit
64064eb49ba70a22f57160b88f62c4e398eb1e9c
Subproject commit
00b4f2b16d336ccd8a50a29271569abadbd32ddb
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