提交代码
This commit is contained in:
@ -11,6 +11,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
|
||||
@ -25,6 +26,18 @@ namespace 货架标准上位机.ViewModel
|
||||
/// </summary>
|
||||
public string Title { get => title; set { SetProperty(ref title, value); } }
|
||||
|
||||
|
||||
private bool goToOutVentoryView;
|
||||
public bool GoToOutVentoryView
|
||||
{
|
||||
get { return goToOutVentoryView; }
|
||||
set
|
||||
{
|
||||
SetProperty(ref goToOutVentoryView, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#region 专用_MainWindow2
|
||||
//隐藏式选项卡的高度
|
||||
public double TabItemHeight { get; set; } = 0;
|
||||
@ -72,6 +85,10 @@ namespace 货架标准上位机.ViewModel
|
||||
{
|
||||
ScannerManager.InitScanners();
|
||||
}),
|
||||
new Tuple<string, string, Action>("初始化WebSocket连接..", "初始化WebSocket连接失败,请联系管理员", () =>
|
||||
{
|
||||
WebSocket.InitWebSocket();
|
||||
}),
|
||||
};
|
||||
|
||||
MainLoadWindow.TaskSleepTime = 200;
|
||||
@ -88,7 +105,7 @@ namespace 货架标准上位机.ViewModel
|
||||
});
|
||||
|
||||
|
||||
////不登录,直接使用最高权限
|
||||
//不登录,直接使用最高权限
|
||||
//{
|
||||
// UserLoginView.NotLogin();
|
||||
// return true;
|
||||
|
Reference in New Issue
Block a user