|
|
@@ -12,6 +12,7 @@ using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Collections.ObjectModel;
|
|
|
using System.ComponentModel;
|
|
|
+using System.Drawing.Drawing2D;
|
|
|
using System.Globalization;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
@@ -1236,6 +1237,20 @@ namespace TeamAAS_VP.ViewModels
|
|
|
}
|
|
|
|
|
|
#region 系统参数
|
|
|
+ private int _WorkMode=0;
|
|
|
+ public int WorkMode
|
|
|
+ {
|
|
|
+ get { return _WorkMode; }
|
|
|
+ set { SetProperty(ref _WorkMode, value); }
|
|
|
+ }
|
|
|
+
|
|
|
+ private int _PickPointNum;
|
|
|
+ public int PickPointNum
|
|
|
+ {
|
|
|
+ get { return _PickPointNum; }
|
|
|
+ set { SetProperty(ref _PickPointNum, value); }
|
|
|
+ }
|
|
|
+
|
|
|
private int _CameraShotCount;
|
|
|
public int CameraShotCount { get => _CameraShotCount; set => SetProperty(ref _CameraShotCount, value); }
|
|
|
|
|
|
@@ -1264,6 +1279,8 @@ namespace TeamAAS_VP.ViewModels
|
|
|
if (result != null && result is bool && (bool)result)
|
|
|
{
|
|
|
var sysConfig = _configService.GetSystemConfiguration();
|
|
|
+ sysConfig.WorkMode = WorkMode;
|
|
|
+ sysConfig.PickPointNum = PickPointNum;
|
|
|
sysConfig.CameraShotCount = CameraShotCount;
|
|
|
sysConfig.UpperCameraPickShotCount = UpperCameraPickShotCount;
|
|
|
sysConfig.UpperCameraPlaceShotCount = UpperCameraPlaceShotCount;
|