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
cfbf25b4
Commit
cfbf25b4
authored
Feb 19, 2023
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
综合.产品 界面添加密码
parent
3094f6aa
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
50 additions
and
18 deletions
+50
-18
AssemblyInfo.cs
...LY.Thick.Blowing.UI.Fix.Client/Properties/AssemblyInfo.cs
+2
-2
PgProfileBlowing.xaml.cs
...ick.Blowing/FLY.Thick.Blowing.UI/PgProfileBlowing.xaml.cs
+13
-4
AssemblyInfo.cs
...LY.Thick.BlowingScan.UI.Client/Properties/AssemblyInfo.cs
+2
-2
UcTAreaProfile.xaml.cs
Project.FLY.Unions/FLY.Unions.UI/UcTAreaProfile.xaml.cs
+8
-0
UcThkProfile.xaml.cs
Project.FLY.Unions/FLY.Unions.UI/UcThkProfile.xaml.cs
+13
-4
UcWeightProfile.xaml.cs
Project.FLY.Unions/FLY.Unions.UI/UcWeightProfile.xaml.cs
+9
-4
hemeiInstallZipVersionInfo.json
脚本/hemeiInstallZipVersionInfo.json
+3
-2
No files found.
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client/Properties/AssemblyInfo.cs
View file @
cfbf25b4
...
...
@@ -51,6 +51,6 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("7.7.4.
0
")]
[assembly: AssemblyFileVersion("7.7.4.
0
")]
[assembly: AssemblyVersion("7.7.4.
1
")]
[assembly: AssemblyFileVersion("7.7.4.
1
")]
[assembly: Guid("D12087A7-EEC4-4D9F-9269-8F20324F4B04")]
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI/PgProfileBlowing.xaml.cs
View file @
cfbf25b4
...
...
@@ -113,6 +113,8 @@ namespace FLY.Thick.Blowing.UI
private
void
Apply
()
{
//有效性检查
if
(
Param
.
Target
<=
0
)
{
...
...
@@ -126,6 +128,9 @@ namespace FLY.Thick.Blowing.UI
return
;
}
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
profileService
.
Apply
(
Param
);
if
(!
ProfileList
.
Contains
(
Param
.
PName
))
{
...
...
@@ -139,15 +144,19 @@ namespace FLY.Thick.Blowing.UI
private
void
Del
()
{
if
(
listview_profile
.
SelectedItem
!=
null
)
{
string
productname
=
listview_profile
.
SelectedItem
as
string
;
if
(
listview_profile
.
SelectedItem
==
null
)
return
;
//输入密码
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
string
productname
=
listview_profile
.
SelectedItem
as
string
;
profileService
.
Del
(
productname
);
ProfileList
.
Remove
(
productname
);
FLY
.
ControlLibrary
.
Window_Tip
.
Show
(
"删除成功"
,
productname
,
TimeSpan
.
FromSeconds
(
2
));
}
}
private
void
Ahelper
()
...
...
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Client/Properties/AssemblyInfo.cs
View file @
cfbf25b4
...
...
@@ -51,6 +51,6 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("7.7.4.
0
")]
[assembly: AssemblyFileVersion("7.7.4.
0
")]
[assembly: AssemblyVersion("7.7.4.
1
")]
[assembly: AssemblyFileVersion("7.7.4.
1
")]
[assembly: Guid("38E0D8EC-4D1C-49FF-AB08-6289294C5BD4")]
Project.FLY.Unions/FLY.Unions.UI/UcTAreaProfile.xaml.cs
View file @
cfbf25b4
...
...
@@ -187,6 +187,9 @@ namespace FLY.Unions.UI
if
(
SelectedItem
==
null
)
return
;
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
string
productname
=
SelectedItem
;
tAreaProfileService
.
Del
(
productname
);
ProfileList
.
Remove
(
productname
);
...
...
@@ -198,6 +201,7 @@ namespace FLY.Unions.UI
private
void
Apply
()
{
//有效性检查
if
(
string
.
IsNullOrEmpty
(
Param
.
PName
))
{
...
...
@@ -205,6 +209,10 @@ namespace FLY.Unions.UI
return
;
}
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
tAreaProfileService
.
Apply
(
Param
.
GetValue
());
if
(!
ProfileList
.
Contains
(
Param
.
PName
))
...
...
Project.FLY.Unions/FLY.Unions.UI/UcThkProfile.xaml.cs
View file @
cfbf25b4
...
...
@@ -116,6 +116,8 @@ namespace FLY.Unions.UI
return
;
}
//有效性检查
if
(
Param
.
Target
<=
0
)
{
...
...
@@ -129,6 +131,10 @@ namespace FLY.Unions.UI
return
;
}
//输入密码
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
profileService
.
Apply
(
Param
);
if
(!
ProfileList
.
Contains
(
Param
.
PName
))
{
...
...
@@ -144,15 +150,18 @@ namespace FLY.Unions.UI
private
void
Del
()
{
if
(
SelectedItem
!=
null
)
{
string
productname
=
SelectedItem
;
if
(
SelectedItem
==
null
)
return
;
//输入密码
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
string
productname
=
SelectedItem
;
profileService
.
Del
(
productname
);
ProfileList
.
Remove
(
productname
);
FLY
.
ControlLibrary
.
Window_Tip
.
Show
(
"删除成功"
,
productname
,
TimeSpan
.
FromSeconds
(
2
));
}
}
private
void
Ahelper
()
...
...
Project.FLY.Unions/FLY.Unions.UI/UcWeightProfile.xaml.cs
View file @
cfbf25b4
...
...
@@ -187,10 +187,6 @@ namespace FLY.Unions.UI
private
void
ToPlc
()
{
//输入密码
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
//有效性检查
if
(
string
.
IsNullOrEmpty
(
Param
.
PName
))
{
...
...
@@ -198,6 +194,10 @@ namespace FLY.Unions.UI
return
;
}
//输入密码
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
weightProfileService
.
Apply
(
Param
.
GetValue
());
if
(!
ProfileList
.
Contains
(
Param
.
PName
))
...
...
@@ -243,6 +243,9 @@ namespace FLY.Unions.UI
if
(
SelectedItem
==
null
)
return
;
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
string
productname
=
SelectedItem
;
weightProfileService
.
Del
(
productname
);
ProfileList
.
Remove
(
productname
);
...
...
@@ -260,6 +263,8 @@ namespace FLY.Unions.UI
FLY
.
ControlLibrary
.
Window_WarningTip
.
Show
(
"参数出错"
,
"称重配方名称为空"
);
return
;
}
if
(!
WdPassword
.
Authorize
(
"Profile"
))
return
;
weightProfileService
.
Apply
(
Param
.
GetValue
());
...
...
脚本/hemeiInstallZipVersionInfo.json
View file @
cfbf25b4
{
"InstallZipVersion"
:
"7.7.4.
0
"
,
"InstallZipUrl"
:
"http://server.flyautomation.net:8889/download/和美安装包_v7.7.4.
0
_20230214.7z"
"InstallZipVersion"
:
"7.7.4.
1
"
,
"InstallZipUrl"
:
"http://server.flyautomation.net:8889/download/和美安装包_v7.7.4.
1
_20230214.7z"
}
\ No newline at end of file
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