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
6d351a83
Commit
6d351a83
authored
Nov 16, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复 App() 内的 nlog 记录出差
2.修复 FLY.Thick.Blowing.UI.Fix.Client.SysParam 属性重复
parent
660bd5bf
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
32 deletions
+8
-32
App.xaml.cs
...edbackRenZiJia/FLY.FeedbackRenZiJia.UI.Server/App.xaml.cs
+1
-1
App.xaml.cs
Project.FLY.IBC/FLY.IBC.UI.Server/App.xaml.cs
+1
-1
App.xaml.cs
...Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client/App.xaml.cs
+1
-2
SysParam.cs
...Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client/SysParam.cs
+0
-23
App.xaml.cs
...Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Server/App.xaml.cs
+1
-1
App.xaml.cs
...k.BlowingScan/FLY.Thick.BlowingScan.UI.Client/App.xaml.cs
+1
-1
App.xaml.cs
...k.BlowingScan/FLY.Thick.BlowingScan.UI.Server/App.xaml.cs
+1
-1
App.xaml.cs
Project.FLY.Weight/FLY.Weight.UI.Server/App.xaml.cs
+1
-1
App.xaml.cs
Project.FLY.Winder_20190413/FLY.Winder.UI.Server/App.xaml.cs
+1
-1
No files found.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Server/App.xaml.cs
View file @
6d351a83
...
...
@@ -20,7 +20,7 @@ namespace FLY.FeedbackRenZiJia.UI.Server
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
"异常,联系厂家"
,
...
...
Project.FLY.IBC/FLY.IBC.UI.Server/App.xaml.cs
View file @
6d351a83
...
...
@@ -21,7 +21,7 @@ namespace FLY.IBC.UI.Server
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
"异常,联系厂家"
,
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client/App.xaml.cs
View file @
6d351a83
...
...
@@ -21,14 +21,13 @@ namespace FLY.Thick.Blowing.UI.Fix.Client
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
"异常,联系厂家"
,
MessageBoxButton
.
OK
,
MessageBoxImage
.
Error
);
};
}
}
}
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client/SysParam.cs
View file @
6d351a83
...
...
@@ -13,34 +13,11 @@ namespace FLY.Thick.Blowing.UI.Fix.Client
{
public
class
SysParam
:
ThickTcpUiInWindow
.
SysParam
{
#
region
数据文件需要保存的数据项
public
int
WindowSize
{
get
;
set
;
}
=
30
;
/// <summary>
/// USB 继电器 串口地址
/// </summary>
public
string
LCUS1_PortName
{
get
;
set
;
}
=
"COM1"
;
/// <summary>
/// 使能USB 继电器
/// </summary>
public
bool
EnableLCUS1
{
get
;
set
;
}
#
endregion
public
SysParam
()
{
}
public
override
string
[]
GetSavePropertyNames
()
{
List
<
string
>
propertynames
=
new
List
<
string
>();
propertynames
.
AddRange
(
base
.
GetSavePropertyNames
());
propertynames
.
AddRange
(
new
string
[]{
"WindowSize"
,
"LCUS1_PortName"
,
"EnableLCUS1"
});
return
propertynames
.
ToArray
();
}
}
}
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Server/App.xaml.cs
View file @
6d351a83
...
...
@@ -21,7 +21,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Server
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
...
...
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Client/App.xaml.cs
View file @
6d351a83
...
...
@@ -23,7 +23,7 @@ namespace FLY.Thick.BlowingScan.UI.Scan.Client
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
"异常,联系厂家"
,
...
...
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Server/App.xaml.cs
View file @
6d351a83
...
...
@@ -23,7 +23,7 @@ namespace FLY.Thick.BlowingScan.UI.Scan.Server
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
"异常,联系厂家"
,
...
...
Project.FLY.Weight/FLY.Weight.UI.Server/App.xaml.cs
View file @
6d351a83
...
...
@@ -21,7 +21,7 @@ namespace FLY.Weight.UI.Server
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
"异常,联系厂家"
,
...
...
Project.FLY.Winder_20190413/FLY.Winder.UI.Server/App.xaml.cs
View file @
6d351a83
...
...
@@ -20,7 +20,7 @@ namespace FLY.Winder.UI.Server
AppDomain
.
CurrentDomain
.
UnhandledException
+=
(
s
,
e
)
=>
{
log
.
Error
(
e
);
log
.
Error
(
(
Exception
)
e
.
ExceptionObject
,
"AppDomain.CurrentDomain.UnhandledException"
);
string
err
=
e
.
ExceptionObject
.
ToString
();
MessageBox
.
Show
(
"程序出现异常,请把下面信息拍照发给厂家"
+
Environment
.
NewLine
+
err
,
...
...
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