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
98608328
Commit
98608328
authored
Jan 05, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
称重, Error 写少了 state,
parent
10419f38
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
132 deletions
+16
-132
AssemblyInfo.cs
...LY.Weight/FLY.Weight.UI.Client/Properties/AssemblyInfo.cs
+2
-2
AssemblyInfo.cs
...LY.Weight/FLY.Weight.UI.Server/Properties/AssemblyInfo.cs
+2
-2
AssemblyInfo.cs
Project.FLY.Weight/FLY.Weight/Properties/AssemblyInfo.cs
+2
-2
WeightSystem.cs
Project.FLY.Weight/FLY.Weight/Server/WeightSystem.cs
+9
-7
1.update_dll.sh
脚本/1.update_dll.sh
+0
-110
2.get_exe.sh
脚本/2.get_exe.sh
+1
-9
No files found.
Project.FLY.Weight/FLY.Weight.UI.Client/Properties/AssemblyInfo.cs
View file @
98608328
...
...
@@ -51,5 +51,5 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.
1
.0.0")]
[assembly: AssemblyFileVersion("5.
1
.0.0")]
[assembly: AssemblyVersion("5.
2
.0.0")]
[assembly: AssemblyFileVersion("5.
2
.0.0")]
Project.FLY.Weight/FLY.Weight.UI.Server/Properties/AssemblyInfo.cs
View file @
98608328
...
...
@@ -51,5 +51,5 @@ using System.Windows;
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.1.
0
.0")]
[assembly: AssemblyFileVersion("5.1.
0
.0")]
[assembly: AssemblyVersion("5.1.
2
.0")]
[assembly: AssemblyFileVersion("5.1.
2
.0")]
Project.FLY.Weight/FLY.Weight/Properties/AssemblyInfo.cs
View file @
98608328
...
...
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.1.
0
.0")]
[assembly: AssemblyFileVersion("5.1.
0
.0")]
[assembly: AssemblyVersion("5.1.
2
.0")]
[assembly: AssemblyFileVersion("5.1.
2
.0")]
Project.FLY.Weight/FLY.Weight/Server/WeightSystem.cs
View file @
98608328
...
...
@@ -483,7 +483,7 @@ namespace FLY.Weight.Server
}
Dictionary
<
INotifyPropertyChanged
,
ErrorAction
>
obj_error
=
new
Dictionary
<
INotifyPropertyChanged
,
ErrorAction
>();
void
AddErrorAction
(
INotifyPropertyChanged
sender
,
ref
byte
code
,
ErrorAction
.
ErrorHandler
errorHandler
=
null
)
void
AddErrorAction
(
INotifyPropertyChanged
sender
,
ref
byte
code
,
ErrorAction
.
ErrorHandler
errorHandler
=
null
,
object
state
=
null
)
{
//反射找出全部是报警的property
List
<
ErrorInfo
>
error_property
=
new
List
<
ErrorInfo
>();
...
...
@@ -510,7 +510,8 @@ namespace FLY.Weight.Server
obj_error
.
Add
(
sender
,
new
ErrorAction
()
{
error_property
=
error_property
,
action
=
errorHandler
action
=
errorHandler
,
state
=
state
});
}
...
...
@@ -525,11 +526,12 @@ namespace FLY.Weight.Server
{
AddErrorAction
(
Items
[
i
],
ref
code
,
(
ref
string
description
,
object
state
)
=>
{
int
idx
=
(
int
)
state
;
description
=
Items
[
idx
].
Number
+
"层 "
+
description
;
});
ref
code
,
(
ref
string
description
,
object
state
)
=>
{
int
idx
=
(
int
)
state
;
description
=
Items
[
idx
].
Number
+
"层 "
+
description
;
},
i
);
}
foreach
(
var
obj
in
obj_error
.
Keys
)
...
...
脚本/1.update_dll.sh
deleted
100644 → 0
View file @
10419f38
#!/bin/bash
dest_dir
=
"../Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client/bin/Debug"
src_dir
=
"src_dir"
src
=(
"src0"
"src1"
)
copy_to
()
{
for
f
in
${
src
[*]
}
do
path
=
$src_dir
/
$f
cp
$path
$dest_dir
if
[
$?
!=
0
]
;
then
echo
"ERROR!"
exit
1
fi
done
}
echo
"-------------------Copy To FLY.Thick.Blowing.UI.Fix.Client----------------------------"
#-----------------------------------------------------------------
#AirRing
src_dir
=
"../Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/bin/Debug"
src
=(
"FLY.FeedbackRenZiJia.dll"
\
"FLY.FeedbackRenZiJia.UI.Client.dll"
)
copy_to
echo
"Copy AirRing dll SUCCESS"
#-----------------------------------------------------------------
#IBC
src_dir
=
"../Project.FLY.IBC/FLY.IBC.UI.Client/bin/Debug"
src
=(
"FLY.IBC.dll"
\
"FLY.IBC.UI.Client.dll"
)
copy_to
echo
"Copy IBC dll SUCCESS"
#-----------------------------------------------------------------
#Winder
src_dir
=
"../Project.FLY.Winder_20190413/FLY.Winder.UI.Client/bin/Debug"
src
=(
"FLY.Winder.dll"
\
"FLY.Winder.UI.Client.dll"
)
copy_to
echo
"Copy Winder dll SUCCESS"
#-----------------------------------------------------------------
#Weight
src_dir
=
"../Project.FLY.Weight/FLY.Weight.UI.Client/bin/Debug"
src
=(
"FLY.Weight.dll"
\
"FLY.Weight.UI.Client.dll"
)
copy_to
echo
"Copy Weight dll SUCCESS"
dest_dir
=
"../Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Client/bin/Debug"
echo
"-------------------Copy To FLY.Thick.BlowingScan.UI.Client----------------------------"
#-----------------------------------------------------------------
#AirRing
src_dir
=
"../Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/bin/Debug"
src
=(
"FLY.FeedbackRenZiJia.dll"
\
"FLY.FeedbackRenZiJia.UI.Client.dll"
)
copy_to
echo
"Copy AirRing dll SUCCESS"
#-----------------------------------------------------------------
#IBC
src_dir
=
"../Project.FLY.IBC/FLY.IBC.UI.Client/bin/Debug"
src
=(
"FLY.IBC.dll"
\
"FLY.IBC.UI.Client.dll"
)
copy_to
echo
"Copy IBC dll SUCCESS"
#-----------------------------------------------------------------
#Winder
src_dir
=
"../Project.FLY.Winder_20190413/FLY.Winder.UI.Client/bin/Debug"
src
=(
"FLY.Winder.dll"
\
"FLY.Winder.UI.Client.dll"
)
copy_to
echo
"Copy Winder dll SUCCESS"
#-----------------------------------------------------------------
#Weight
src_dir
=
"../Project.FLY.Weight/FLY.Weight.UI.Client/bin/Debug"
src
=(
"FLY.Weight.dll"
\
"FLY.Weight.UI.Client.dll"
)
copy_to
echo
"Copy Weight dll SUCCESS"
脚本/2.get_exe.sh
View file @
98608328
...
...
@@ -55,12 +55,8 @@ src_dir="../Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client"
dest_dir
=
"FLY.Thick.Blowing.UI.Fix.Client"
files
=(
\
"FLY.Thick.Blowing.UI.Fix.Client.exe"
\
"FLY.FeedbackRenZiJia.dll"
"FLY.FeedbackRenZiJia.UI.Client.dll"
\
"FLY.IBC.dll"
"FLY.IBC.UI.Client.dll"
\
"FLY.Weight.dll"
"FLY.Weight.UI.Client.dll"
\
"FLY.Winder.dll"
"FLY.Winder.UI.Client.dll"
\
"main_module"
"csysparam.xml"
"layout"
"music"
"版本说明.txt"
"测厚仪说明书.pdf"
\
"nlog.config"
\
"nlog.config"
"weighterColorDb.json"
\
)
copy_to2
$src_dir
$dest_dir
$files
...
...
@@ -121,10 +117,6 @@ src_dir="../Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Client"
dest_dir
=
"FLY.Thick.BlowingScan.UI.Client"
files
=(
\
"FLY.Thick.BlowingScan.UI.Client.exe"
\
"FLY.FeedbackRenZiJia.dll"
"FLY.FeedbackRenZiJia.UI.Client.dll"
\
"FLY.IBC.dll"
"FLY.IBC.UI.Client.dll"
\
"FLY.Weight.dll"
"FLY.Weight.UI.Client.dll"
\
"FLY.Winder.dll"
"FLY.Winder.UI.Client.dll"
\
"main_module"
"csysparam.xml"
"layout"
"music"
"版本说明.txt"
"测厚仪说明书.pdf"
\
"nlog.config"
\
)
...
...
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