Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.GimbalAI
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.GimbalAI
Commits
4c4b4cd2
Commit
4c4b4cd2
authored
Oct 10, 2022
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 showmessagebox
parent
aa166e8d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
13 deletions
+5
-13
VIZ.GimbalAI.Client/config/config.ini
+1
-1
VIZ.GimbalAI.Module/MainView/View/MainView.xaml
+3
-2
VIZ.GimbalAI.Module/MainView/ViewModel/MainViewModel.cs
+1
-10
No files found.
VIZ.GimbalAI.Client/config/config.ini
View file @
4c4b4cd2
...
@@ -57,7 +57,7 @@ ALGORITHM_SAVE_WIDTH=400
...
@@ -57,7 +57,7 @@ ALGORITHM_SAVE_WIDTH=400
;ALGORITHM_SAVE_HEIGHT=900
;ALGORITHM_SAVE_HEIGHT=900
ALGORITHM_SAVE_HEIGHT
=
300
ALGORITHM_SAVE_HEIGHT
=
300
;算法安全框颜色
;算法安全框颜色
ALGORITHM_SAVE_COLOR
=
#
FF
0000FF
ALGORITHM_SAVE_COLOR
=
#
88
0000FF
; ============================================================
; ============================================================
; === Gimbal ===
; === Gimbal ===
; ============================================================
; ============================================================
...
...
VIZ.GimbalAI.Module/MainView/View/MainView.xaml
View file @
4c4b4cd2
...
@@ -52,7 +52,8 @@
...
@@ -52,7 +52,8 @@
</common:DebugBorder>
</common:DebugBorder>
</StackPanel>
</StackPanel>
<Border Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center">
<Border Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center">
<common:ShowMessageControl Foreground="White" Background="#66FFFFFF"
<common:ShowMessageControl Background="#33FFFFFF" Padding="80,12,80,12"
TextElement.Foreground="Red" TextElement.FontSize="20"
MessageKey="{x:Static Member=module:MainView.MAIN_VIEW_TOP_MESSAGE_KEY}"></common:ShowMessageControl>
MessageKey="{x:Static Member=module:MainView.MAIN_VIEW_TOP_MESSAGE_KEY}"></common:ShowMessageControl>
</Border>
</Border>
<Border HorizontalAlignment="Right" VerticalAlignment="Center" Height="50" Width="240" Background="#22ffffff" Grid.Column="1" Margin="0,0,30,0">
<Border HorizontalAlignment="Right" VerticalAlignment="Center" Height="50" Width="240" Background="#22ffffff" Grid.Column="1" Margin="0,0,30,0">
...
@@ -76,6 +77,6 @@
...
@@ -76,6 +77,6 @@
<!-- 控制区域 -->
<!-- 控制区域 -->
<module:ControlView Grid.Row="1" Grid.Column="2"></module:ControlView>
<module:ControlView Grid.Row="1" Grid.Column="2"></module:ControlView>
<!-- 底栏 -->
<!-- 底栏 -->
</Grid>
</Grid>
</UserControl>
</UserControl>
VIZ.GimbalAI.Module/MainView/ViewModel/MainViewModel.cs
View file @
4c4b4cd2
...
@@ -152,7 +152,7 @@ namespace VIZ.GimbalAI.Module
...
@@ -152,7 +152,7 @@ namespace VIZ.GimbalAI.Module
#
region
IsRestartAlgorithmEnabled
--
重启算法按钮是否可用
#
region
IsRestartAlgorithmEnabled
--
重启算法按钮是否可用
private
bool
isRestartAlgorithmEnabled
;
private
bool
isRestartAlgorithmEnabled
=
true
;
/// <summary>
/// <summary>
/// 重启算法按钮是否可用
/// 重启算法按钮是否可用
/// </summary>
/// </summary>
...
@@ -320,15 +320,6 @@ namespace VIZ.GimbalAI.Module
...
@@ -320,15 +320,6 @@ namespace VIZ.GimbalAI.Module
/// </summary>
/// </summary>
private
void
RestartAlgorithm
()
private
void
RestartAlgorithm
()
{
{
ShowMessage
msg
=
new
ShowMessage
();
msg
.
MessageKey
=
MainView
.
MAIN_VIEW_TOP_MESSAGE_KEY
;
msg
.
Message
=
$"请在安全框范围内操作!"
;
ApplicationDomainEx
.
MessageManager
.
Send
(
msg
);
return
;
// ===============================================
this
.
IsRestartAlgorithmEnabled
=
false
;
this
.
IsRestartAlgorithmEnabled
=
false
;
this
.
AlgorithmController
.
Restart
();
this
.
AlgorithmController
.
Restart
();
}
}
...
...
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