Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.Package
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.Package
Commits
537b3f33
Commit
537b3f33
authored
May 10, 2023
by
wangonghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交修改命令行bug
parent
285df8e3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
VIZ.Package.Module/Page/Group/ViewModel/PageGroupViewModel.cs
+2
-0
VIZ.Package.Module/PageCommand/ViewModel/PageCommandViewModel.cs
+14
-0
VIZ.Package.Setup/VIZ.Package.Setup.vdproj
+0
-0
No files found.
VIZ.Package.Module/Page/Group/ViewModel/PageGroupViewModel.cs
View file @
537b3f33
...
@@ -1217,6 +1217,8 @@ namespace VIZ.Package.Module
...
@@ -1217,6 +1217,8 @@ namespace VIZ.Package.Module
// 根据模板拷贝页
// 根据模板拷贝页
PageModel
page
=
new
PageModel
();
PageModel
page
=
new
PageModel
();
page
.
PageID
=
Guid
.
NewGuid
();
page
.
PageType
=
PageType
.
Command
;
page
.
PageType
=
PageType
.
Command
;
page
.
ConnGroupID
=
ApplicationDomainEx
.
ConnGroups
.
FirstOrDefault
(
p
=>
p
.
IsDefault
)?.
GroupID
??
Guid
.
Empty
;
page
.
ConnGroupID
=
ApplicationDomainEx
.
ConnGroups
.
FirstOrDefault
(
p
=>
p
.
IsDefault
)?.
GroupID
??
Guid
.
Empty
;
page
.
PageGroupID
=
this
.
SelectedPageGroupModel
.
GroupID
;
page
.
PageGroupID
=
this
.
SelectedPageGroupModel
.
GroupID
;
...
...
VIZ.Package.Module/PageCommand/ViewModel/PageCommandViewModel.cs
View file @
537b3f33
...
@@ -58,6 +58,8 @@ namespace VIZ.Package.Module
...
@@ -58,6 +58,8 @@ namespace VIZ.Package.Module
private
void
InitMessage
()
private
void
InitMessage
()
{
{
ApplicationDomainEx
.
MessageManager
.
Register
<
PageOpenMessage
>(
this
,
this
.
OnPageOpenMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
PageOpenMessage
>(
this
,
this
.
OnPageOpenMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
ProjectCloseMessage
>(
this
,
this
.
OnPageCloseMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
PageSaveMessage
>(
this
,
this
.
OnPageSaveMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
PageSaveMessage
>(
this
,
this
.
OnPageSaveMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
PageSaveAsMessage
>(
this
,
this
.
OnPageSaveAsMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
PageSaveAsMessage
>(
this
,
this
.
OnPageSaveAsMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
HotkeyMessage
>(
this
,
this
.
OnHotkeyMessage
);
ApplicationDomainEx
.
MessageManager
.
Register
<
HotkeyMessage
>(
this
,
this
.
OnHotkeyMessage
);
...
@@ -245,6 +247,18 @@ namespace VIZ.Package.Module
...
@@ -245,6 +247,18 @@ namespace VIZ.Package.Module
this
.
TakeUpdateCommand
=
entity
?.
TakeUpdateCommand
??
string
.
Empty
;
this
.
TakeUpdateCommand
=
entity
?.
TakeUpdateCommand
??
string
.
Empty
;
}
}
private
void
OnPageCloseMessage
(
ProjectCloseMessage
msg
)
{
TakeCommand
=
string
.
Empty
;
this
.
TakeCommand
=
string
.
Empty
;
this
.
TakeContinueCommand
=
string
.
Empty
;
this
.
TakeOutCommand
=
string
.
Empty
;
this
.
TakeUpdateCommand
=
string
.
Empty
;
}
/// <summary>
/// <summary>
/// 页保存消息
/// 页保存消息
/// </summary>
/// </summary>
...
...
VIZ.Package.Setup/VIZ.Package.Setup.vdproj
0 → 100644
View file @
537b3f33
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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