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
9fb628e9
Commit
9fb628e9
authored
May 28, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.优化 称重的颜色配置.json 放在 default 文件夹
2.优化 追边与扫描的服务器 Gage格式重写,create 与 init 分离
parent
c2a1e564
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
445 additions
and
420 deletions
+445
-420
MenuSetting.xaml
.../FLY.FeedbackRenZiJia.UI.Client/UiModule/MenuSetting.xaml
+1
-1
MainWindow.xaml.cs
...lowing/FLY.Thick.Blowing.UI.Fix.Server/MainWindow.xaml.cs
+3
-3
MenuSetting.xaml.cs
...Blowing/FLY.Thick.Blowing.UI/UiModule/MenuSetting.xaml.cs
+1
-1
OBJProxy.cs
...ick.Blowing/FLY.Thick.Blowing/Server.OBJProxy/OBJProxy.cs
+13
-13
TDGage.cs
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/Server/TDGage.cs
+116
-103
MainWindow.xaml.cs
...ngScan/FLY.Thick.BlowingScan.UI.Server/MainWindow.xaml.cs
+1
-1
OBJProxys.cs
...ngScan/FLY.Thick.BlowingScan/Server.OBJProxy/OBJProxys.cs
+17
-17
TDGage.cs
....Thick.BlowingScan/FLY.Thick.BlowingScan/Server/TDGage.cs
+289
-276
WeighterColorDB.cs
Project.FLY.Weight/FLY.Weight.UI.Client/WeighterColorDB.cs
+2
-2
WeightSystemServiceClient.cs
...FLY.Weight/FLY.Weight/Client/WeightSystemServiceClient.cs
+1
-2
thick_public
thick_public
+1
-1
No files found.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/UiModule/MenuSetting.xaml
View file @
9fb628e9
...
...
@@ -18,7 +18,7 @@
Click="btnMenuClick">
<StackPanel >
<iconPacks:PackIconMaterial Kind="Target" />
<TextBlock Text="
自动
风环" Foreground="White"/>
<TextBlock Text="风环" Foreground="White"/>
</StackPanel>
</Button>
</StackPanel>
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Server/MainWindow.xaml.cs
View file @
9fb628e9
...
...
@@ -41,11 +41,11 @@ namespace FLY.Thick.Blowing.UI.Fix.Server
if
(!
mPicHistory
.
Enable
)
btnOpen
.
Visibility
=
Visibility
.
Collapsed
;
mGage
.
mS
canWarning
.
ScanWarningCheck
+=
(
s
,
e
)
=>
mGage
.
s
canWarning
.
ScanWarningCheck
+=
(
s
,
e
)
=>
{
mPicHistory
.
Add
(
e
.
profile
,
e
.
scandata
,
e
.
isWarning
);
};
Misc
.
BindingOperations
.
SetBinding
(
mGage
.
mS
canWarning
,
"IsAutoTarget"
,
mPicHistory
,
"IsAutoTarget"
);
Misc
.
BindingOperations
.
SetBinding
(
mGage
.
s
canWarning
,
"IsAutoTarget"
,
mPicHistory
,
"IsAutoTarget"
);
this
.
Title
=
(
new
Misc
.
Ver
()
{
SrcType
=
typeof
(
MainWindow
)
}).
ToString
();
...
...
@@ -55,7 +55,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Server
FObjBase
.
PollModule
.
Current
.
Start
();
this
.
DataContext
=
mGage
.
mS
ysParam
;
this
.
DataContext
=
mGage
.
s
ysParam
;
}
private
void
button_open_Click
(
object
sender
,
RoutedEventArgs
e
)
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI/UiModule/MenuSetting.xaml.cs
View file @
9fb628e9
...
...
@@ -34,7 +34,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UiModule
public
class
UiModule2_MenuSetting
:
IUiModule2
{
public
string
Title
=>
"追边
测厚参数
"
;
public
string
Title
=>
"追边
菜单
"
;
public
ComponentType
Type
=>
ComponentType
.
Menu
;
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/Server.OBJProxy/OBJProxy.cs
View file @
9fb628e9
...
...
@@ -33,36 +33,36 @@ namespace FLY.Thick.Blowing.Server.OBJProxy
public
OBJProxy
(
int
objsys_idx
,
TDGage
gage
)
{
TDGage
mGage
=
gage
;
bulkDataOBJProxy
=
new
BulkDataService_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULK_ID
,
mGage
.
mB
ulk
);
bulkDataOBJProxy
=
new
BulkDataService_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULK_ID
,
mGage
.
b
ulk
);
profileOBJProxy
=
new
BlowingFixProfile_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BFPROFILE_ID
,
mGage
.
mP
rofile
);
profileOBJProxy
=
new
BlowingFixProfile_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BFPROFILE_ID
,
mGage
.
p
rofile
);
curveOBJProxy
=
new
Curve_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
CURVE_ID
,
mGage
.
mC
urve
);
curveOBJProxy
=
new
Curve_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
CURVE_ID
,
mGage
.
c
urve
);
initparamOBJProxy
=
new
Initparam_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
INITPARAM_ID
,
mGage
.
mI
nitParam
);
initparamOBJProxy
=
new
Initparam_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
INITPARAM_ID
,
mGage
.
i
nitParam
);
dynAreaOBJProxy
=
new
DynArea_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
DYNAREA_ID
,
mGage
.
mD
ynArea
);
dynAreaOBJProxy
=
new
DynArea_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
DYNAREA_ID
,
mGage
.
d
ynArea
);
flyADOBJProxy
=
new
FlyAD_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FLYAD_ID
,
mGage
.
mFlyAD
,
mGage
.
AD2Thick
);
flyADOBJProxy
=
new
FlyAD_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FLYAD_ID
,
mGage
.
flyAd
,
mGage
.
AD2Thick
);
fixOBJProxy
=
new
Fix_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FIX_ID
,
mGage
.
mGM
Fix
);
fixOBJProxy
=
new
Fix_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FIX_ID
,
mGage
.
gm
Fix
);
blowingOBJProxy
=
new
BlowingFix_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
RENZIJIA_ID
,
mGage
.
mGM
RenZiJiaFix
);
blowingOBJProxy
=
new
BlowingFix_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
RENZIJIA_ID
,
mGage
.
gm
RenZiJiaFix
);
bDetectOBJProxy
=
new
BlowingDetect_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BDETECT_ID
,
mGage
.
mGM
RenZiJiaFix
.
mPDetect
);
bDetectOBJProxy
=
new
BlowingDetect_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BDETECT_ID
,
mGage
.
gm
RenZiJiaFix
.
mPDetect
);
scanWarningOBJProxy
=
new
ScanWarning_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
SCANWARNING_ID
,
mGage
.
mS
canWarning
);
scanWarningOBJProxy
=
new
ScanWarning_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
SCANWARNING_ID
,
mGage
.
s
canWarning
);
bulkDbOBJProxy
=
new
BulkDB_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULKDB_ID
,
mGage
.
mB
ulkDb
);
bulkDbOBJProxy
=
new
BulkDB_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULKDB_ID
,
mGage
.
b
ulkDb
);
warnSystemOBJProxy
=
new
FLY
.
OBJComponents
.
Server
.
OBJProxy
.
WarningSystem_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
WARNING_OBJ_ID
,
mGage
.
mW
arning
);
warnSystemOBJProxy
=
new
FLY
.
OBJComponents
.
Server
.
OBJProxy
.
WarningSystem_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
WARNING_OBJ_ID
,
mGage
.
w
arning
);
jsonDist_OBJProxy
=
new
JsonDist_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
JSONDIST_OBJ_ID
,
new
JsonDist
());
blowingOBJProxy
.
CurrObjSys
.
Start_Conn_Server
(
mGage
.
mS
ysParam
.
LocalEP
,
mGage
.
s
ysParam
.
LocalEP
,
bulkDataOBJProxy
.
ID
);
}
}
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/Server/TDGage.cs
View file @
9fb628e9
This diff is collapsed.
Click to expand it.
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Server/MainWindow.xaml.cs
View file @
9fb628e9
...
...
@@ -42,7 +42,7 @@ namespace FLY.Thick.BlowingScan.UI.Server
FObjBase
.
PollModule
.
Current
.
Start
();
this
.
DataContext
=
mGage
.
mS
ysParam
;
this
.
DataContext
=
mGage
.
s
ysParam
;
}
}
}
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan/Server.OBJProxy/OBJProxys.cs
View file @
9fb628e9
...
...
@@ -46,30 +46,30 @@ namespace FLY.Thick.BlowingScan.Server.OBJProxy
public
OBJProxys
(
int
objsys_idx
,
TDGage
gage
)
{
TDGage
mGage
=
gage
;
mBulkDataOBJProxy
=
new
BulkDataService_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULK_ID
,
mGage
.
mB
ulk
);
mBulkDataOBJProxy
=
new
BulkDataService_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULK_ID
,
mGage
.
b
ulk
);
mProfileOBJProxy
=
new
BlowingProfile_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
PROFILE_ID
,
mGage
.
mP
rofile
);
mProfileOBJProxy
=
new
BlowingProfile_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
PROFILE_ID
,
mGage
.
p
rofile
);
mBorderSearchOBJProxy
=
new
BorderSearch_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BORDERSEARCH_ID
,
mGage
.
mB
orderSearch
);
mBorderSearchOBJProxy
=
new
BorderSearch_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BORDERSEARCH_ID
,
mGage
.
b
orderSearch
);
mCurveOBJProxy
=
new
Curve_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
CURVE_ID
,
mGage
.
mC
urve
);
mCurveOBJProxy
=
new
Curve_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
CURVE_ID
,
mGage
.
c
urve
);
mDynAreaOBJProxy
=
new
DynArea_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
DYNAREA_ID
,
mGage
.
mD
ynArea
);
mDynAreaOBJProxy
=
new
DynArea_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
DYNAREA_ID
,
mGage
.
d
ynArea
);
mGetSampleOBJProxy
=
new
GetSample_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
GET_SAMPLE_ID
,
mGage
.
mG
etSample
);
mGetSampleOBJProxy
=
new
GetSample_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
GET_SAMPLE_ID
,
mGage
.
g
etSample
);
mInitParamOBJProxy
=
new
Initparam_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
INITPARAM_ID
,
mGage
.
mI
nitParam
);
mInitParamOBJProxy
=
new
Initparam_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
INITPARAM_ID
,
mGage
.
i
nitParam
);
mScanCorrOBJProxy
=
new
ScanCorr_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
SCANCORR_ID
,
mGage
.
mGM
ScanCorr
);
mScanCorrOBJProxy
=
new
ScanCorr_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
SCANCORR_ID
,
mGage
.
gm
ScanCorr
);
mFlyADOBJProxy
=
new
FlyAD_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FLYAD_ID
,
mGage
.
mFlyAD
,
mGage
.
AD2Thick
);
mFlyADOBJProxy
=
new
FlyAD_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FLYAD_ID
,
mGage
.
flyAd
,
mGage
.
AD2Thick
);
mGageInfoOBJProxy
=
new
GageInfo_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
GAGEINFO_ID
,
mGage
.
mGM
GageInfo
);
mGageInfoOBJProxy
=
new
GageInfo_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
GAGEINFO_ID
,
mGage
.
gm
GageInfo
);
mFixOBJProxy
=
new
Fix_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FIX_ID
,
mGage
.
mGM
Fix
);
mFixOBJProxy
=
new
Fix_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
FIX_ID
,
mGage
.
gm
Fix
);
mWarnSystemOBJProxy
=
new
FLY
.
OBJComponents
.
Server
.
OBJProxy
.
WarningSystem_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
WARNING_OBJ_ID
,
mGage
.
mW
arning
);
mWarnSystemOBJProxy
=
new
FLY
.
OBJComponents
.
Server
.
OBJProxy
.
WarningSystem_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
WARNING_OBJ_ID
,
mGage
.
w
arning
);
jsonDist_OBJProxy
=
new
JsonDist_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
JSONDIST_OBJ_ID
,
new
JsonDist
());
...
...
@@ -77,17 +77,17 @@ namespace FLY.Thick.BlowingScan.Server.OBJProxy
mTDGageOBJProxy
=
new
TDGage_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
TDGAGE_ID
,
mGage
);
mBlowingOBJProxy
=
new
BlowingScan_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
RENZIJIA_ID
,
mGage
.
mGM
RenZiJiaScan
);
mBlowingOBJProxy
=
new
BlowingScan_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
RENZIJIA_ID
,
mGage
.
gm
RenZiJiaScan
);
mBDetectOBJProxy
=
new
BlowingDetect_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BDETECT_ID
,
mGage
.
mGM
RenZiJiaScan
.
mPDetect
);
mBDetectOBJProxy
=
new
BlowingDetect_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BDETECT_ID
,
mGage
.
gm
RenZiJiaScan
.
mPDetect
);
mScanWarningOBJProxy
=
new
ScanWarning_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
SCANWARNING_ID
,
mGage
.
mS
canWarning
);
mScanWarningOBJProxy
=
new
ScanWarning_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
SCANWARNING_ID
,
mGage
.
s
canWarning
);
mBulkDBOBJProxy
=
new
BulkDB_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULKDB_ID
,
mGage
.
mB
ulkDb
);
mBulkDBOBJProxy
=
new
BulkDB_OBJProxy
(
objsys_idx
,
OBJ_INTERFACE_ID
.
BULKDB_ID
,
mGage
.
b
ulkDb
);
mTDGageOBJProxy
.
CurrObjSys
.
Start_Conn_Server
(
mGage
.
mS
ysParam
.
LocalEP
,
mGage
.
s
ysParam
.
LocalEP
,
mBulkDataOBJProxy
.
ID
);
}
}
...
...
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan/Server/TDGage.cs
View file @
9fb628e9
This diff is collapsed.
Click to expand it.
Project.FLY.Weight/FLY.Weight.UI.Client/WeighterColorDB.cs
View file @
9fb628e9
...
...
@@ -26,9 +26,9 @@ namespace FLY.Weight.UI.Client
{
if
(
File
.
Exists
(
"weighterColorDb.json"
))
if
(
File
.
Exists
(
"
default/
weighterColorDb.json"
))
{
string
json
=
File
.
ReadAllText
(
"weighterColorDb.json"
);
string
json
=
File
.
ReadAllText
(
"
default/
weighterColorDb.json"
);
mWeighters
=
Newtonsoft
.
Json
.
JsonConvert
.
DeserializeObject
<
Dictionary
<
string
,
WeighterColor
>>(
json
);
}
else
...
...
Project.FLY.Weight/FLY.Weight/Client/WeightSystemServiceClient.cs
View file @
9fb628e9
...
...
@@ -65,10 +65,9 @@ namespace FLY.Weight.Client
Init
();
}
public
WeightSystemServiceClient
(
UInt32
serviceId
,
string
connName
)
:
base
(
serviceId
)
{
Init
();
ConnName
=
connName
;
filePath
=
connName
+
"."
+
filePath
;
Init
();
FObjServiceClientManager
.
Instance
.
Connect_to_Another_OBJSys
(
connName
,
this
);
}
...
...
thick_public
@
88b4c13d
Subproject commit
715ebee61130332971fcac03421f62bc114bb015
Subproject commit
88b4c13d3d404a1c744118f13918d63f2082d13a
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