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
f0822f1a
Commit
f0822f1a
authored
Mar 18, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重新规划服务ID
parent
4cf775ec
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
394 additions
and
494 deletions
+394
-494
PgHeatList.xaml.cs
...enZiJia/FLY.FeedbackRenZiJia.UI.Client/PgHeatList.xaml.cs
+2
-2
PgSetup.xaml
...dbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/PgSetup.xaml
+226
-349
PgSetup.xaml.cs
...ckRenZiJia/FLY.FeedbackRenZiJia.UI.Client/PgSetup.xaml.cs
+124
-104
OBJ_INTERFACE_ID.cs
...ia/FLY.FeedbackRenZiJia/OBJ_INTERFACE/OBJ_INTERFACE_ID.cs
+3
-3
DynAreaIbc.xaml.cs
...ect.FLY.IBC/FLY.IBC.UI.Client/UiModule/DynAreaIbc.xaml.cs
+2
-2
OBJ_INTERFACE.cs
Project.FLY.IBC/FLY.IBC/OBJ_INTERFACE/OBJ_INTERFACE.cs
+6
-4
OBJ_INTERFACE_ID.cs
...owing/FLY.Thick.Blowing/OBJ_INTERFACE/OBJ_INTERFACE_ID.cs
+5
-4
FLY.HeatingHelper.UI.csproj
...lyst.Fix/FLY.HeatingHelper.UI/FLY.HeatingHelper.UI.csproj
+3
-3
ViewModel_UC_SelectData.cs
...lper.UI/UIModule/UC_SelectData/ViewModel_UC_SelectData.cs
+1
-0
PgMenu.xaml.cs
Project.FLY.Weight/FLY.Weight.UI.Client/PgMenu.xaml.cs
+4
-4
WeightSystemServiceClient.cs
...FLY.Weight/FLY.Weight/Client/WeightSystemServiceClient.cs
+6
-3
OBJ_INTERFACE.cs
Project.FLY.Weight/FLY.Weight/OBJ_INTERFACE/OBJ_INTERFACE.cs
+9
-12
WeightSystem_OBJProxy.cs
...eight/FLY.Weight/Server.OBJProxy/WeightSystem_OBJProxy.cs
+1
-1
thick_public
thick_public
+1
-1
root.config
...&airRing&weighter&winder&ibc&integrated/unity/root.config
+1
-2
和美客户端容器描述.xmind
...Ring&weighter&winder&ibc&integrated/unity/和美客户端容器描述.xmind
+0
-0
和美客户端容器描述.xmind
...ix&airRing&weighter&winder&ibc&integrated/和美客户端容器描述.xmind
+0
-0
No files found.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/PgHeatList.xaml.cs
View file @
f0822f1a
...
@@ -839,7 +839,7 @@ namespace FLY.FeedbackRenZiJia.UI.Client
...
@@ -839,7 +839,7 @@ namespace FLY.FeedbackRenZiJia.UI.Client
private
void
button_delsnap_Click
(
object
sender
,
RoutedEventArgs
e
)
private
void
button_delsnap_Click
(
object
sender
,
RoutedEventArgs
e
)
{
{
if
(!
WdPassword
.
Authorize
(
"AirRing
HeatList
"
))
if
(!
WdPassword
.
Authorize
(
"AirRing"
))
return
;
return
;
mSnaps
.
DelSnapShot
();
mSnaps
.
DelSnapShot
();
...
@@ -1023,7 +1023,7 @@ namespace FLY.FeedbackRenZiJia.UI.Client
...
@@ -1023,7 +1023,7 @@ namespace FLY.FeedbackRenZiJia.UI.Client
FLY
.
ControlLibrary
.
Window_WarningTip
.
Show
(
"应用失败"
,
"当前图是反向,需要先去调换旋转架的正反向信号线"
,
TimeSpan
.
FromSeconds
(
2
));
FLY
.
ControlLibrary
.
Window_WarningTip
.
Show
(
"应用失败"
,
"当前图是反向,需要先去调换旋转架的正反向信号线"
,
TimeSpan
.
FromSeconds
(
2
));
return
;
return
;
}
}
if
(!
WdPassword
.
Authorize
(
"AirRing
HeatList
"
))
if
(!
WdPassword
.
Authorize
(
"AirRing"
))
return
;
return
;
blowing
.
IsUsedMap
=
IsUsedMap
;
blowing
.
IsUsedMap
=
IsUsedMap
;
...
...
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/PgSetup.xaml
View file @
f0822f1a
This diff is collapsed.
Click to expand it.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/PgSetup.xaml.cs
View file @
f0822f1a
This diff is collapsed.
Click to expand it.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/OBJ_INTERFACE/OBJ_INTERFACE_ID.cs
View file @
f0822f1a
...
@@ -12,9 +12,9 @@ namespace FLY.FeedbackRenZiJia.OBJ_INTERFACE
...
@@ -12,9 +12,9 @@ namespace FLY.FeedbackRenZiJia.OBJ_INTERFACE
public
const
UInt32
HEATBUF_ID
=
31002
;
public
const
UInt32
HEATBUF_ID
=
31002
;
public
const
UInt32
HEATCELL_ID
=
31003
;
public
const
UInt32
HEATCELL_ID
=
31003
;
/// <summary>
/// 3个
/// </summary>
public
const
UInt32
WARNING_OBJ_ID
=
20000
;
public
const
UInt32
WARNING_OBJ_ID
=
20000
;
public
const
UInt32
WARNING_OBJ_REASONLIST_ID
=
20001
;
public
const
UInt32
WARNING_OBJ_NEWESTLIST_ID
=
20002
;
}
}
}
}
Project.FLY.IBC/FLY.IBC.UI.Client/UiModule/DynAreaIbc.xaml.cs
View file @
f0822f1a
...
@@ -109,7 +109,7 @@ namespace FLY.IBC.UI.Client.UiModule
...
@@ -109,7 +109,7 @@ namespace FLY.IBC.UI.Client.UiModule
private
void
Record_CollectionChanged
(
object
sender
,
System
.
Collections
.
Specialized
.
NotifyCollectionChangedEventArgs
e
)
private
void
Record_CollectionChanged
(
object
sender
,
System
.
Collections
.
Specialized
.
NotifyCollectionChangedEventArgs
e
)
{
{
reason_list_index
=
m
Window
.
Record
.
Count
()
-
1
;
reason_list_index
=
warningReason
Window
.
Record
.
Count
()
-
1
;
updateError01
();
updateError01
();
}
}
...
@@ -118,7 +118,7 @@ namespace FLY.IBC.UI.Client.UiModule
...
@@ -118,7 +118,7 @@ namespace FLY.IBC.UI.Client.UiModule
FObjBase
.
PollModule
.
Current
.
Poll_JustOnce
(
FObjBase
.
PollModule
.
Current
.
Poll_JustOnce
(
new
FObjBase
.
PollModule
.
PollHandler
(
delegate
()
new
FObjBase
.
PollModule
.
PollHandler
(
delegate
()
{
{
reason_list_index
=
m
Window
.
Record
.
Count
()
-
1
;
reason_list_index
=
warningReason
Window
.
Record
.
Count
()
-
1
;
updateError
();
updateError
();
}),
this
,
MARKNO_UPDATEERROR
);
}),
this
,
MARKNO_UPDATEERROR
);
...
...
Project.FLY.IBC/FLY.IBC/OBJ_INTERFACE/OBJ_INTERFACE.cs
View file @
f0822f1a
...
@@ -8,15 +8,17 @@ namespace FLY.IBC.OBJ_INTERFACE
...
@@ -8,15 +8,17 @@ namespace FLY.IBC.OBJ_INTERFACE
{
{
public
class
OBJ_INTERFACE
public
class
OBJ_INTERFACE
{
{
//3个
public
const
UInt32
WARNING_OBJ_ID
=
20000
;
/// <summary>
/// <summary>
/// 4个
/// 4个
/// </summary>
/// </summary>
public
const
UInt32
IBC_OBJ_ID
=
32000
;
public
const
UInt32
IBC_OBJ_ID
=
32000
;
public
const
UInt32
IBC_OBJ_CTRLLIST_ID
=
32004
;
public
const
UInt32
IBC_OBJ_CTRLLIST_ID
=
32004
;
//3个
public
const
UInt32
WARNING_OBJ_ID
=
20000
;
}
}
}
}
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/OBJ_INTERFACE/OBJ_INTERFACE_ID.cs
View file @
f0822f1a
...
@@ -20,10 +20,11 @@ namespace FLY.Thick.Blowing.OBJ_INTERFACE
...
@@ -20,10 +20,11 @@ namespace FLY.Thick.Blowing.OBJ_INTERFACE
public
const
UInt32
SCANWARNING_ID
=
30011
;
public
const
UInt32
SCANWARNING_ID
=
30011
;
public
const
UInt32
BULKDB_ID
=
30012
;
public
const
UInt32
BULKDB_ID
=
30012
;
public
const
UInt32
WARNING_OBJ_ID
=
30013
;
/// <summary>
public
const
UInt32
WARNING_OBJ_REASONLIST_ID
=
30014
;
/// 3个
public
const
UInt32
WARNING_OBJ_NEWESTLIST_ID
=
30015
;
/// </summary>
public
const
UInt32
WARNING_OBJ_ID
=
20000
;
public
const
UInt32
JSONDIST_OBJ_ID
=
2
0000
;
public
const
UInt32
JSONDIST_OBJ_ID
=
1
0000
;
}
}
}
}
Project.FLY.ThickHeatAnalyst.Fix/FLY.HeatingHelper.UI/FLY.HeatingHelper.UI.csproj
View file @
f0822f1a
...
@@ -214,9 +214,9 @@
...
@@ -214,9 +214,9 @@
<Project>
{119c3adc-f8e1-4f72-b89b-006236ff8586}
</Project>
<Project>
{119c3adc-f8e1-4f72-b89b-006236ff8586}
</Project>
<Name>
FLY.ControlLibrary
</Name>
<Name>
FLY.ControlLibrary
</Name>
</ProjectReference>
</ProjectReference>
<ProjectReference
Include=
"..\..\thick_public\Project.FLY.
UI.Module\FLY.UI.Module\FLY.UI.Module
.csproj"
>
<ProjectReference
Include=
"..\..\thick_public\Project.FLY.
Misc\MISC\Misc
.csproj"
>
<Project>
{
4df79671-e814-49bd-864d-8257d6c6e072
}
</Project>
<Project>
{
5ee61ac6-5269-4f0f-b8fa-4334fe4a678f
}
</Project>
<Name>
FLY.UI.Module
</Name>
<Name>
Misc
</Name>
</ProjectReference>
</ProjectReference>
<ProjectReference
Include=
"..\FLY.HeatingHelper\FLY.HeatingHelper.csproj"
>
<ProjectReference
Include=
"..\FLY.HeatingHelper\FLY.HeatingHelper.csproj"
>
<Project>
{973f0eed-3181-4fb9-abd6-196a9e816b77}
</Project>
<Project>
{973f0eed-3181-4fb9-abd6-196a9e816b77}
</Project>
...
...
Project.FLY.ThickHeatAnalyst.Fix/FLY.HeatingHelper.UI/UIModule/UC_SelectData/ViewModel_UC_SelectData.cs
View file @
f0822f1a
...
@@ -23,6 +23,7 @@ namespace FLY.HeatingHelper.UI.UIModule.UC_SelectData
...
@@ -23,6 +23,7 @@ namespace FLY.HeatingHelper.UI.UIModule.UC_SelectData
Command_DefaultLoadDataRange
();
Command_DefaultLoadDataRange
();
Misc
.
BindingOperations
.
SetBinding
(
Dat
,
"AnalystIndexFrom"
,
()
=>
Misc
.
BindingOperations
.
SetBinding
(
Dat
,
"AnalystIndexFrom"
,
()
=>
{
{
AnalystDataFrom
=
null
;
AnalystDataFrom
=
null
;
});
});
Misc
.
BindingOperations
.
SetBinding
(
Dat
,
"AnalystIndexTo"
,
()
=>
Misc
.
BindingOperations
.
SetBinding
(
Dat
,
"AnalystIndexTo"
,
()
=>
...
...
Project.FLY.Weight/FLY.Weight.UI.Client/PgMenu.xaml.cs
View file @
f0822f1a
...
@@ -46,7 +46,7 @@ namespace FLY.Weight.UI.Client
...
@@ -46,7 +46,7 @@ namespace FLY.Weight.UI.Client
private
void
button_ingredient_Click
(
object
sender
,
RoutedEventArgs
e
)
private
void
button_ingredient_Click
(
object
sender
,
RoutedEventArgs
e
)
{
{
if
(!
WdPassword
.
Authorize
(
"Weighter
Menu
"
))
if
(!
WdPassword
.
Authorize
(
"Weighter"
))
return
;
return
;
PgIngredient
p
=
new
PgIngredient
();
PgIngredient
p
=
new
PgIngredient
();
...
@@ -57,7 +57,7 @@ namespace FLY.Weight.UI.Client
...
@@ -57,7 +57,7 @@ namespace FLY.Weight.UI.Client
private
void
button_screw_Click
(
object
sender
,
RoutedEventArgs
e
)
private
void
button_screw_Click
(
object
sender
,
RoutedEventArgs
e
)
{
{
if
(!
WdPassword
.
Authorize
(
"Weighter
Menu
"
))
if
(!
WdPassword
.
Authorize
(
"Weighter"
))
return
;
return
;
PgScrew
p
=
new
PgScrew
();
PgScrew
p
=
new
PgScrew
();
container
.
BuildUp
(
p
);
container
.
BuildUp
(
p
);
...
@@ -67,7 +67,7 @@ namespace FLY.Weight.UI.Client
...
@@ -67,7 +67,7 @@ namespace FLY.Weight.UI.Client
private
void
button_hopper_Click
(
object
sender
,
RoutedEventArgs
e
)
private
void
button_hopper_Click
(
object
sender
,
RoutedEventArgs
e
)
{
{
if
(!
WdPassword
.
Authorize
(
"Weighter
Menu
"
))
if
(!
WdPassword
.
Authorize
(
"Weighter"
))
return
;
return
;
PgHopper
p
=
new
PgHopper
();
PgHopper
p
=
new
PgHopper
();
container
.
BuildUp
(
p
);
container
.
BuildUp
(
p
);
...
@@ -86,7 +86,7 @@ namespace FLY.Weight.UI.Client
...
@@ -86,7 +86,7 @@ namespace FLY.Weight.UI.Client
private
void
button_thickness_Click
(
object
sender
,
RoutedEventArgs
e
)
private
void
button_thickness_Click
(
object
sender
,
RoutedEventArgs
e
)
{
{
if
(!
WdPassword
.
Authorize
(
"Weighter
Menu
"
))
if
(!
WdPassword
.
Authorize
(
"Weighter"
))
return
;
return
;
PgThickness
p
=
new
PgThickness
();
PgThickness
p
=
new
PgThickness
();
...
...
Project.FLY.Weight/FLY.Weight/Client/WeightSystemServiceClient.cs
View file @
f0822f1a
...
@@ -67,6 +67,8 @@ namespace FLY.Weight.Client
...
@@ -67,6 +67,8 @@ namespace FLY.Weight.Client
public
WeightSystemServiceClient
(
UInt32
serviceId
,
string
connName
)
:
base
(
serviceId
)
{
public
WeightSystemServiceClient
(
UInt32
serviceId
,
string
connName
)
:
base
(
serviceId
)
{
Init
();
Init
();
ConnName
=
connName
;
ConnName
=
connName
;
filePath
=
connName
+
"."
+
filePath
;
FObjServiceClientManager
.
Instance
.
Connect_to_Another_OBJSys
(
connName
,
this
);
FObjServiceClientManager
.
Instance
.
Connect_to_Another_OBJSys
(
connName
,
this
);
}
}
...
@@ -112,6 +114,7 @@ namespace FLY.Weight.Client
...
@@ -112,6 +114,7 @@ namespace FLY.Weight.Client
this
.
PropertyChanged
+=
WeightSystemClient_PropertyChanged
;
this
.
PropertyChanged
+=
WeightSystemClient_PropertyChanged
;
}
}
string
filePath
=
"weightSystemClient.json"
;
void
Save
()
void
Save
()
{
{
WeightSystemClientJsonDb
jsonDb
=
new
WeightSystemClientJsonDb
()
WeightSystemClientJsonDb
jsonDb
=
new
WeightSystemClientJsonDb
()
...
@@ -119,12 +122,12 @@ namespace FLY.Weight.Client
...
@@ -119,12 +122,12 @@ namespace FLY.Weight.Client
BinCnts
=
BinCnts
BinCnts
=
BinCnts
};
};
string
json
=
Newtonsoft
.
Json
.
JsonConvert
.
SerializeObject
(
jsonDb
);
string
json
=
Newtonsoft
.
Json
.
JsonConvert
.
SerializeObject
(
jsonDb
);
File
.
WriteAllText
(
"weightSystemClient.json"
,
json
);
File
.
WriteAllText
(
filePath
,
json
);
}
}
void
Load
()
{
void
Load
()
{
if
(!
File
.
Exists
(
"weightSystemClient.json"
))
if
(!
File
.
Exists
(
filePath
))
return
;
return
;
string
json
=
File
.
ReadAllText
(
"weightSystemClient.json"
);
string
json
=
File
.
ReadAllText
(
filePath
);
var
p
=
Newtonsoft
.
Json
.
JsonConvert
.
DeserializeObject
<
WeightSystemClientJsonDb
>(
json
);
var
p
=
Newtonsoft
.
Json
.
JsonConvert
.
DeserializeObject
<
WeightSystemClientJsonDb
>(
json
);
BinCnts
=
p
.
BinCnts
;
BinCnts
=
p
.
BinCnts
;
}
}
...
...
Project.FLY.Weight/FLY.Weight/OBJ_INTERFACE/OBJ_INTERFACE.cs
View file @
f0822f1a
...
@@ -7,22 +7,19 @@ namespace FLY.Weight.OBJ_INTERFACE
...
@@ -7,22 +7,19 @@ namespace FLY.Weight.OBJ_INTERFACE
{
{
public
class
OBJ_INTERFACE
public
class
OBJ_INTERFACE
{
{
/// <summary>
/// 3个
/// </summary>
public
const
UInt32
WARNING_OBJ_ID
=
20000
;
public
const
UInt32
WARNING_OBJ_ID
=
20000
;
public
const
UInt32
WARNING_OBJ_REASONLIST_ID
=
WARNING_OBJ_ID
+
1
;
public
const
UInt32
WARNING_OBJ_NEWESTLIST_ID
=
WARNING_OBJ_ID
+
2
;
public
const
UInt32
WEIGHTS_OBJ_ID
=
30000
;
public
const
UInt32
WEIGHTS_OBJ_SYNCPROP_ID
=
WEIGHTS_OBJ_ID
+
1
;
public
const
UInt32
WEIGHTS_OBJ_PLCOS_ID
=
WEIGHTS_OBJ_ID
+
2
;
public
const
UInt32
WEIGHTS_OBJ_PLCOS_SYNCPROP_ID
=
WEIGHTS_OBJ_PLCOS_ID
+
1
;
/// <summary>
/// 4个
/// </summary>
public
const
UInt32
WEIGHTS_OBJ_ID
=
35000
;
public
const
UInt32
WEIGHTS_OBJ_FLOW_ID
=
3
0
004
;
public
const
UInt32
WEIGHTS_OBJ_FLOW_ID
=
3
5
004
;
public
const
UInt32
WEIGHTS_OBJ_MIX_BASE_ID
=
3
0
005
;
public
const
UInt32
WEIGHTS_OBJ_MIX_BASE_ID
=
3
5
005
;
/// <summary>
/// <summary>
/// 每次配料记录列表, 1~5
/// 每次配料记录列表, 1~5
/// </summary>
/// </summary>
...
...
Project.FLY.Weight/FLY.Weight/Server.OBJProxy/WeightSystem_OBJProxy.cs
View file @
f0822f1a
...
@@ -38,7 +38,7 @@ namespace FLY.Weight.Server.OBJProxy
...
@@ -38,7 +38,7 @@ namespace FLY.Weight.Server.OBJProxy
plcOS_OBJProxy
=
new
PLCProxySystem_OBJProxy
(
plcOS_OBJProxy
=
new
PLCProxySystem_OBJProxy
(
objsys_idx
,
objsys_idx
,
OBJ_INTERFACE
.
OBJ_INTERFACE
.
WEIGHTS_OBJ_PLCOS_ID
,
ID
+
2
,
data
.
PLCos
data
.
PLCos
);
);
...
...
thick_public
@
634c9abe
Subproject commit 6
0be62824e5c30d5c322b2230d08098458cf99d
9
Subproject commit 6
34c9abecc11061d5487d82887dee7d76115c51
9
脚本/unity容器/blowingfix&airRing&weighter&winder&ibc&integrated/unity/root.config
View file @
f0822f1a
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
<!--别名-->
<!--别名-->
<
alias
alias
=
"IOnInit"
type
=
"MultiLayout.UiModule.IOnInit, MultiLayout"
/>
<
alias
alias
=
"IOnInit"
type
=
"MultiLayout.UiModule.IOnInit, MultiLayout"
/>
<
container
>
<
container
>
<!--客户端配置参数-->
<!--客户端配置参数-->
<
register
type
=
"Misc.ParamDictionary, MISC"
>
<
register
type
=
"Misc.ParamDictionary, MISC"
>
...
@@ -17,7 +16,7 @@
...
@@ -17,7 +16,7 @@
<
register
type
=
"FLY.OBJComponents.IService.IJsonDistService,FLY.OBJComponents"
mapTo
=
"FLY.OBJComponents.Client.JsonDistServiceClient,FLY.OBJComponents"
>
<
register
type
=
"FLY.OBJComponents.IService.IJsonDistService,FLY.OBJComponents"
mapTo
=
"FLY.OBJComponents.Client.JsonDistServiceClient,FLY.OBJComponents"
>
<
lifetime
type
=
"singleton"
/>
<
lifetime
type
=
"singleton"
/>
<
constructor
>
<
constructor
>
<
param
name
=
"serviceId"
value
=
"
2
0000"
/>
<
param
name
=
"serviceId"
value
=
"
1
0000"
/>
<
param
name
=
"connName"
value
=
"blowing"
/>
<
param
name
=
"connName"
value
=
"blowing"
/>
</
constructor
>
</
constructor
>
</
register
>
</
register
>
...
...
脚本/unity容器/blowingfix&airRing&weighter&winder&ibc&integrated/unity/和美客户端容器描述.xmind
0 → 100644
View file @
f0822f1a
File added
脚本/unity容器/blowingfix&airRing&weighter&winder&ibc&integrated/和美客户端容器描述.xmind
deleted
100644 → 0
View file @
4cf775ec
File deleted
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