软著申请修改
This commit is contained in:
@ -20,12 +20,9 @@ namespace WCS.WebApi.Controllers
|
|||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
public class FileDownLoadController : ControllerBase
|
public class FileDownLoadController : ControllerBase
|
||||||
{
|
{
|
||||||
|
|
||||||
public FileDownLoadController()
|
public FileDownLoadController()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("uploadApp")]
|
[HttpPost("uploadApp")]
|
||||||
public async Task<ResponseBase> uploadApp([FromForm] IFormFile excelFile, [FromForm] string version, [FromForm] string content)
|
public async Task<ResponseBase> uploadApp([FromForm] IFormFile excelFile, [FromForm] string version, [FromForm] string content)
|
||||||
{
|
{
|
||||||
@ -75,7 +72,6 @@ namespace WCS.WebApi.Controllers
|
|||||||
{
|
{
|
||||||
await excelFile.CopyToAsync(stream);
|
await excelFile.CopyToAsync(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region 保存数据
|
#region 保存数据
|
||||||
var appVersion = new AppVersion()
|
var appVersion = new AppVersion()
|
||||||
{
|
{
|
||||||
@ -85,7 +81,6 @@ namespace WCS.WebApi.Controllers
|
|||||||
};
|
};
|
||||||
DbHelp.db.Insertable(appVersion).ExecuteCommand();
|
DbHelp.db.Insertable(appVersion).ExecuteCommand();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
// 文件上传成功,返回成功信息
|
// 文件上传成功,返回成功信息
|
||||||
return new ResponseCommon()
|
return new ResponseCommon()
|
||||||
{
|
{
|
||||||
@ -103,20 +98,16 @@ namespace WCS.WebApi.Controllers
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[HttpGet("downloadApp")]
|
[HttpGet("downloadApp")]
|
||||||
public IActionResult downloadApp(string fileName)
|
public IActionResult downloadApp(string fileName)
|
||||||
{
|
{
|
||||||
// 这里是文件的物理路径,你需要根据实际情况提供
|
// 这里是文件的物理路径,你需要根据实际情况提供
|
||||||
var filePath = Path.Combine(Directory.GetCurrentDirectory(), $"Files/{fileName}");
|
var filePath = Path.Combine(Directory.GetCurrentDirectory(), $"Files/{fileName}");
|
||||||
|
|
||||||
// 检查文件是否存在
|
// 检查文件是否存在
|
||||||
if (!System.IO.File.Exists(filePath))
|
if (!System.IO.File.Exists(filePath))
|
||||||
{
|
{
|
||||||
return NotFound();
|
return NotFound();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取文件流
|
// 获取文件流
|
||||||
var stream = System.IO.File.OpenRead(filePath);
|
var stream = System.IO.File.OpenRead(filePath);
|
||||||
// 设置HTTP响应头,使浏览器知道这是一个附件,应该下载而不是打开
|
// 设置HTTP响应头,使浏览器知道这是一个附件,应该下载而不是打开
|
||||||
@ -134,7 +125,6 @@ namespace WCS.WebApi.Controllers
|
|||||||
FileInfo[] files = Directory.GetFiles(directoryPath, "*.APK")
|
FileInfo[] files = Directory.GetFiles(directoryPath, "*.APK")
|
||||||
.Select(file => new FileInfo(file))
|
.Select(file => new FileInfo(file))
|
||||||
.ToArray();
|
.ToArray();
|
||||||
|
|
||||||
if (files == null || files.Length == 0)
|
if (files == null || files.Length == 0)
|
||||||
{
|
{
|
||||||
return new ResponseCommon<string>()
|
return new ResponseCommon<string>()
|
||||||
@ -160,7 +150,6 @@ namespace WCS.WebApi.Controllers
|
|||||||
Code = 201,
|
Code = 201,
|
||||||
Message = "服务器不存在App安装包"
|
Message = "服务器不存在App安装包"
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
||||||
using System.Configuration;
|
using System.Configuration;
|
||||||
@ -88,7 +87,6 @@ namespace WebApi
|
|||||||
builder.Services.AddScoped<IWarningService, WarningService>();
|
builder.Services.AddScoped<IWarningService, WarningService>();
|
||||||
builder.Services.AddScoped<IInOutRecordService, InOutRecordService>();
|
builder.Services.AddScoped<IInOutRecordService, InOutRecordService>();
|
||||||
builder.Services.AddScoped<IUploadService, UploadService>();
|
builder.Services.AddScoped<IUploadService, UploadService>();
|
||||||
|
|
||||||
builder.Services.AddScoped<ISingleLightService, SingleLightService>();
|
builder.Services.AddScoped<ISingleLightService, SingleLightService>();
|
||||||
builder.Services.AddScoped<IMXL4Service, MXL4Service>();
|
builder.Services.AddScoped<IMXL4Service, MXL4Service>();
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ using System.Windows.Input;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.MXBackgroundThread;
|
using WCS.Model.ApiModel.MXBackgroundThread;
|
||||||
|
|
||||||
namespace 货架标准上位机.Api
|
namespace 智能仓储WCS管理系统.Api
|
||||||
{
|
{
|
||||||
public static class ApiHelp
|
public static class ApiHelp
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<Application x:Class="货架标准上位机.App"
|
<Application x:Class="智能仓储WCS管理系统.App"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol">
|
xmlns:hc="https://handyorg.github.io/handycontrol">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
@ -19,7 +19,7 @@
|
|||||||
<local:AuthVisConverter x:Key="AuthVisConverter"/>
|
<local:AuthVisConverter x:Key="AuthVisConverter"/>
|
||||||
<local:AuthVisHidConverter x:Key="AuthVisHidConverter"/>
|
<local:AuthVisHidConverter x:Key="AuthVisHidConverter"/>
|
||||||
<!--字体-->
|
<!--字体-->
|
||||||
<FontFamily x:Key="IconFont">pack://application,,,/货架标准上位机;component/Fonts/#iconfont</FontFamily>
|
<FontFamily x:Key="IconFont">pack://application,,,/智能仓储WCS管理系统;component/Fonts/#iconfont</FontFamily>
|
||||||
<!--字符串-->
|
<!--字符串-->
|
||||||
<sys:String x:Key="AboutInfo1">卓越盟讯</sys:String>
|
<sys:String x:Key="AboutInfo1">卓越盟讯</sys:String>
|
||||||
<!--<sys:String x:Key="AboutInfo1">金川数智</sys:String>-->
|
<!--<sys:String x:Key="AboutInfo1">金川数智</sys:String>-->
|
||||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// App.xaml 的交互逻辑
|
/// App.xaml 的交互逻辑
|
||||||
|
@ -11,7 +11,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 权限转换器(转为bool)
|
/// 权限转换器(转为bool)
|
||||||
|
@ -8,7 +8,7 @@ using System.Windows.Data;
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 权限转换器
|
/// 权限转换器
|
||||||
|
@ -8,7 +8,7 @@ using System.Windows.Data;
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using HandyControl.Tools;
|
using HandyControl.Tools;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 权限转换器
|
/// 权限转换器
|
||||||
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
class WorkItemBackgroundConverter : IValueConverter
|
class WorkItemBackgroundConverter : IValueConverter
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 默认数据库
|
/// 默认数据库
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
[SugarTable("test_table")]
|
[SugarTable("test_table")]
|
||||||
public class MyTestTable
|
public class MyTestTable
|
||||||
|
@ -8,7 +8,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 警告信息数据库
|
/// 警告信息数据库
|
||||||
|
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 本地文件
|
/// 本地文件
|
||||||
@ -14,7 +14,7 @@ namespace 货架标准上位机
|
|||||||
public class LocalFile
|
public class LocalFile
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 程序运行名称(货架标准上位机.exe)
|
/// 程序运行名称(智能仓储WCS管理系统.exe)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static readonly string AppName = AppDomain.CurrentDomain.FriendlyName.Contains('.') ? AppDomain.CurrentDomain.FriendlyName : $"{AppDomain.CurrentDomain.FriendlyName}.exe";//多环境兼容性
|
public static readonly string AppName = AppDomain.CurrentDomain.FriendlyName.Contains('.') ? AppDomain.CurrentDomain.FriendlyName : $"{AppDomain.CurrentDomain.FriendlyName}.exe";//多环境兼容性
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 本地全局静态
|
/// 本地全局静态
|
||||||
|
@ -6,7 +6,7 @@ using System.Reflection;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 认证项
|
/// 认证项
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 增删改查(CRUD)枚举
|
/// 增删改查(CRUD)枚举
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 设备监控
|
/// 设备监控
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 树节点
|
/// 树节点
|
||||||
|
@ -5,7 +5,7 @@ using System.Net;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Ip和端口
|
/// Ip和端口
|
||||||
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// json配置文件
|
/// json配置文件
|
||||||
|
@ -7,9 +7,9 @@ using System.Threading.Tasks;
|
|||||||
using TouchSocket.Core;
|
using TouchSocket.Core;
|
||||||
using TouchSocket.SerialPorts;
|
using TouchSocket.SerialPorts;
|
||||||
using TouchSocket.Sockets;
|
using TouchSocket.Sockets;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
public static class ScannerManager
|
public static class ScannerManager
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文件夹操作
|
/// 文件夹操作
|
||||||
|
@ -6,9 +6,9 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
|
|
||||||
namespace 货架标准上位机.Tool
|
namespace 智能仓储WCS管理系统.Tool
|
||||||
{
|
{
|
||||||
public static class GetBaseData
|
public static class GetBaseData
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// json时间转换器
|
/// json时间转换器
|
||||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 日志类型
|
/// 日志类型
|
||||||
|
@ -5,7 +5,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机.Tool
|
namespace 智能仓储WCS管理系统.Tool
|
||||||
{
|
{
|
||||||
public static class PrintTender
|
public static class PrintTender
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,7 @@ using System.Windows.Controls;
|
|||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 富文本框扩展类
|
/// 富文本框扩展类
|
||||||
|
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 警告信息容器
|
/// 警告信息容器
|
||||||
|
@ -5,7 +5,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 循环、暂停、继续、停止扩展
|
/// 循环、暂停、继续、停止扩展
|
||||||
|
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class AboutViewModel : BindableBase
|
public class AboutViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class DataChartViewModel : BindableBase
|
public class DataChartViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class DataListViewModel : BindableBase
|
public class DataListViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class DataListWarnInfoViewModel : BindableBase
|
public class DataListWarnInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -12,9 +12,9 @@ using System.Windows.Input;
|
|||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class DeviceViewModel : BindableBase
|
public class DeviceViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -11,14 +11,14 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using HandyControl.Tools.Extension;
|
using HandyControl.Tools.Extension;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class HomeViewModel : BindableBase
|
public class HomeViewModel : BindableBase
|
||||||
{
|
{
|
||||||
@ -39,12 +39,10 @@ namespace 货架标准上位机.ViewModel
|
|||||||
Thread.Sleep(2000);
|
Thread.Sleep(2000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
#region 启动自检
|
#region 启动自检
|
||||||
SelfCheck();
|
SelfCheck();
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
#region 绑定
|
#region 绑定
|
||||||
private string textErr;
|
private string textErr;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -146,7 +144,6 @@ namespace 货架标准上位机.ViewModel
|
|||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 页面加载时任务
|
#region 页面加载时任务
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 页面第一次加载时执行的任务
|
/// 页面第一次加载时执行的任务
|
||||||
|
@ -6,7 +6,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class ImageListenerViewModel : BindableBase
|
public class ImageListenerViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,9 +14,9 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
@ -31,7 +31,7 @@ using System.Security.Cryptography;
|
|||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
using System.Diagnostics.Eventing.Reader;
|
using System.Diagnostics.Eventing.Reader;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class InInventoryViewModel : BindableBase
|
public class InInventoryViewModel : BindableBase
|
||||||
{
|
{
|
||||||
@ -121,11 +121,9 @@ namespace 货架标准上位机.ViewModel
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -207,7 +205,6 @@ namespace 货架标准上位机.ViewModel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 扫到模组码的数据处理
|
/// 扫到模组码的数据处理
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -257,7 +254,6 @@ namespace 货架标准上位机.ViewModel
|
|||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//调用接口 本次扫码的货架进入入库模式
|
//调用接口 本次扫码的货架进入入库模式
|
||||||
#region 调用接口进入入库模式
|
#region 调用接口进入入库模式
|
||||||
try
|
try
|
||||||
@ -392,7 +388,6 @@ namespace 货架标准上位机.ViewModel
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
public ICommand BtnEndCommand { get => new DelegateCommand(BtnEnd); }
|
public ICommand BtnEndCommand { get => new DelegateCommand(BtnEnd); }
|
||||||
public void BtnEnd()
|
public void BtnEnd()
|
||||||
{
|
{
|
||||||
|
@ -14,9 +14,9 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
@ -28,10 +28,10 @@ using HandyControl.Tools.Extension;
|
|||||||
using WCS.Model.ApiModel.Stocktaking;
|
using WCS.Model.ApiModel.Stocktaking;
|
||||||
using WCS.Model.ApiModel.InOutRecord;
|
using WCS.Model.ApiModel.InOutRecord;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using static 货架标准上位机.ViewModel.InOutRecordViewModel;
|
using static 智能仓储WCS管理系统.ViewModel.InOutRecordViewModel;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class InOutRecordViewModel : BindableBase
|
public class InOutRecordViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,15 +14,15 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using WCS.Model.ApiModel.InterfaceRecord;
|
using WCS.Model.ApiModel.InterfaceRecord;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class InterfaceRecordViewModel : BindableBase
|
public class InterfaceRecordViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -22,10 +22,10 @@ using TouchSocket.Core;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.OutStore;
|
using WCS.Model.ApiModel.OutStore;
|
||||||
using WCS.Model.ApiModel.Stocktaking;
|
using WCS.Model.ApiModel.Stocktaking;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MXOutInventoryViewModel : BindableBase
|
public class MXOutInventoryViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -18,13 +18,13 @@ using TouchSocket.Core;
|
|||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Security.Policy;
|
using System.Security.Policy;
|
||||||
using WCS.Model.ApiModel.MXBackgroundThread;
|
using WCS.Model.ApiModel.MXBackgroundThread;
|
||||||
using 货架标准上位机;
|
using 智能仓储WCS管理系统;
|
||||||
using WCS.Model.ApiModel.MatInventoryDetail;
|
using WCS.Model.ApiModel.MatInventoryDetail;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MXOutOrderDetailViewViewModel : BindableBase
|
public class MXOutOrderDetailViewViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -16,9 +16,9 @@ using System.Windows.Input;
|
|||||||
using TouchSocket.Core;
|
using TouchSocket.Core;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using WCS.Model.ApiModel.MXBackgroundThread;
|
using WCS.Model.ApiModel.MXBackgroundThread;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MXOutOrderViewModel : BindableBase
|
public class MXOutOrderViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -25,10 +25,10 @@ using WCS.Model.ApiModel.MatInventoryDetail;
|
|||||||
using WCS.Model.ApiModel.MXBackgroundThread;
|
using WCS.Model.ApiModel.MXBackgroundThread;
|
||||||
using WCS.Model.ApiModel.OutStore;
|
using WCS.Model.ApiModel.OutStore;
|
||||||
using WCS.Model.ApiModel.Stocktaking;
|
using WCS.Model.ApiModel.Stocktaking;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MXPDViewModel : BindableBase
|
public class MXPDViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ using System.Windows.Controls.Primitives;
|
|||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MainViewModel : BindableBase
|
public class MainViewModel : BindableBase
|
||||||
{
|
{
|
||||||
@ -67,7 +67,7 @@ namespace 货架标准上位机.ViewModel
|
|||||||
public bool InitAgo()
|
public bool InitAgo()
|
||||||
{
|
{
|
||||||
//只允许打开一个
|
//只允许打开一个
|
||||||
mutex = new Mutex(true, string.Concat("MengXun货架标准上位机", Path.GetFileNameWithoutExtension(LocalFile.AppName)), out bool createdNew);
|
mutex = new Mutex(true, string.Concat("MengXun智能仓储WCS管理系统", Path.GetFileNameWithoutExtension(LocalFile.AppName)), out bool createdNew);
|
||||||
if (!createdNew)
|
if (!createdNew)
|
||||||
{
|
{
|
||||||
MessageBox.Warning("已有实列在运行!", "提示");
|
MessageBox.Warning("已有实列在运行!", "提示");
|
||||||
|
@ -14,9 +14,9 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
@ -24,7 +24,7 @@ using WCS.Model.ApiModel.InterfaceRecord;
|
|||||||
using WCS.BLL.DbModels;
|
using WCS.BLL.DbModels;
|
||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MatBaseInfoAddOrUpdateViewModel : BindableBase
|
public class MatBaseInfoAddOrUpdateViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,9 +14,9 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
@ -25,9 +25,9 @@ using WCS.BLL.DbModels;
|
|||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using HandyControl.Tools.Extension;
|
using HandyControl.Tools.Extension;
|
||||||
using 货架标准上位机.Tool;
|
using 智能仓储WCS管理系统.Tool;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MatBaseInfoViewModel : BindableBase
|
public class MatBaseInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -13,11 +13,11 @@ using System.Windows.Input;
|
|||||||
using WCS.BLL.DbModels;
|
using WCS.BLL.DbModels;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using 货架标准上位机.Tool;
|
using 智能仓储WCS管理系统.Tool;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MatBaseInoScanGenarateMatInfoViewModel : BindableBase
|
public class MatBaseInoScanGenarateMatInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,9 +14,9 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
@ -25,11 +25,11 @@ using WCS.BLL.DbModels;
|
|||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using HandyControl.Tools.Extension;
|
using HandyControl.Tools.Extension;
|
||||||
using 货架标准上位机.Tool;
|
using 智能仓储WCS管理系统.Tool;
|
||||||
using System.Printing;
|
using System.Printing;
|
||||||
using System.Printing.IndexedProperties;
|
using System.Printing.IndexedProperties;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MatInfoViewModel : BindableBase
|
public class MatInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,9 +14,9 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
@ -28,7 +28,7 @@ using HandyControl.Tools.Extension;
|
|||||||
using WCS.Model.ApiModel.Stocktaking;
|
using WCS.Model.ApiModel.Stocktaking;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class MatInventoryDetailViewModel : BindableBase
|
public class MatInventoryDetailViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -9,8 +9,8 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
using WCS.Model.ApiModel.StoreInfo;
|
using WCS.Model.ApiModel.StoreInfo;
|
||||||
@ -21,7 +21,7 @@ using WCS.Model.ApiModel;
|
|||||||
using Newtonsoft.Json.Bson;
|
using Newtonsoft.Json.Bson;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class ModuleInfoViewModel : BindableBase
|
public class ModuleInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -11,9 +11,9 @@ using WCS.BLL.DbModels;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
using WCS.Model.ApiModel.MatInventoryDetail;
|
using WCS.Model.ApiModel.MatInventoryDetail;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModels
|
namespace 智能仓储WCS管理系统.ViewModels
|
||||||
{
|
{
|
||||||
public class OutInventoryAddDucumentViewModel : BindableBase
|
public class OutInventoryAddDucumentViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -11,9 +11,9 @@ using WCS.BLL.DbModels;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
using WCS.Model.ApiModel.MatInventoryDetail;
|
using WCS.Model.ApiModel.MatInventoryDetail;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModels
|
namespace 智能仓储WCS管理系统.ViewModels
|
||||||
{
|
{
|
||||||
public class OutInventoryAddMatViewModel : BindableBase
|
public class OutInventoryAddMatViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -16,10 +16,10 @@ using System.Windows.Media.Imaging;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
using WCS.Model.ApiModel.OutStore;
|
using WCS.Model.ApiModel.OutStore;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModels
|
namespace 智能仓储WCS管理系统.ViewModels
|
||||||
{
|
{
|
||||||
public class OutInventoryDocumentViewModel : BindableBase
|
public class OutInventoryDocumentViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -12,9 +12,9 @@ using WCS.BLL.DbModels;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
using WCS.Model.ApiModel.MatInventoryDetail;
|
using WCS.Model.ApiModel.MatInventoryDetail;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModels
|
namespace 智能仓储WCS管理系统.ViewModels
|
||||||
{
|
{
|
||||||
public class OutInventoryImportDucumentViewModel : BindableBase
|
public class OutInventoryImportDucumentViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -22,10 +22,10 @@ using TouchSocket.Core;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.OutStore;
|
using WCS.Model.ApiModel.OutStore;
|
||||||
using WCS.Model.ApiModel.Stocktaking;
|
using WCS.Model.ApiModel.Stocktaking;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class OutInventoryViewModel : BindableBase
|
public class OutInventoryViewModel : BindableBase
|
||||||
{
|
{
|
||||||
@ -33,7 +33,6 @@ namespace 货架标准上位机.ViewModel
|
|||||||
{
|
{
|
||||||
RefreshOutOrderList();
|
RefreshOutOrderList();
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Property
|
#region Property
|
||||||
private OutOrderModel selectedOutOrder;
|
private OutOrderModel selectedOutOrder;
|
||||||
public OutOrderModel SelectedOutOrder
|
public OutOrderModel SelectedOutOrder
|
||||||
@ -124,7 +123,6 @@ namespace 货架标准上位机.ViewModel
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Command
|
#region Command
|
||||||
public ICommand BtnOutOrderCommand { get => new DelegateCommand(BtnOutOrder); }
|
public ICommand BtnOutOrderCommand { get => new DelegateCommand(BtnOutOrder); }
|
||||||
public void BtnOutOrder()
|
public void BtnOutOrder()
|
||||||
|
@ -9,7 +9,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class OutputStatChartViewModel : BindableBase
|
public class OutputStatChartViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
//https://dandelioncloud.cn/article/details/1472765022102446082
|
//https://dandelioncloud.cn/article/details/1472765022102446082
|
||||||
public class RoleEditTreeViewModel : BindableBase, ITreeNode<RoleEditTreeViewModel>
|
public class RoleEditTreeViewModel : BindableBase, ITreeNode<RoleEditTreeViewModel>
|
||||||
|
@ -7,12 +7,12 @@ using System.Windows.Input;
|
|||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using HandyControl.Tools.Extension;
|
using HandyControl.Tools.Extension;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class RoleViewModel : BindableBase
|
public class RoleViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -19,11 +19,11 @@ using System.Windows.Input;
|
|||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using static System.Net.WebRequestMethods;
|
using static System.Net.WebRequestMethods;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class SetViewModel : BindableBase
|
public class SetViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -6,9 +6,9 @@ using System.Threading.Tasks;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
using WCS.Model.ApiModel.StoreInfo;
|
using WCS.Model.ApiModel.StoreInfo;
|
||||||
using 货架标准上位机.Tool;
|
using 智能仓储WCS管理系统.Tool;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class ShelfInfoAddOrUpdateViewModel : BindableBase
|
public class ShelfInfoAddOrUpdateViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -9,8 +9,8 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
using WCS.Model.ApiModel.StoreInfo;
|
using WCS.Model.ApiModel.StoreInfo;
|
||||||
@ -20,7 +20,7 @@ using WCS.Model.ApiModel.User;
|
|||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
using Newtonsoft.Json.Bson;
|
using Newtonsoft.Json.Bson;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class ShelfInfoViewModel : BindableBase
|
public class ShelfInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -12,9 +12,9 @@ using WCS.Model;
|
|||||||
using WCS.Model.ApiModel.MatBaseInfo;
|
using WCS.Model.ApiModel.MatBaseInfo;
|
||||||
using WCS.Model.ApiModel.OutStore;
|
using WCS.Model.ApiModel.OutStore;
|
||||||
using WCS.Model.ApiModel.Stocktaking;
|
using WCS.Model.ApiModel.Stocktaking;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModels
|
namespace 智能仓储WCS管理系统.ViewModels
|
||||||
{
|
{
|
||||||
public class StocktakingDocumentViewModel : BindableBase
|
public class StocktakingDocumentViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -22,10 +22,10 @@ using TouchSocket.Core;
|
|||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.OutStore;
|
using WCS.Model.ApiModel.OutStore;
|
||||||
using WCS.Model.ApiModel.Stocktaking;
|
using WCS.Model.ApiModel.Stocktaking;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class StocktakingViewModel : BindableBase
|
public class StocktakingViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -9,8 +9,8 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel.Home;
|
using WCS.Model.ApiModel.Home;
|
||||||
using WCS.Model.ApiModel.StoreInfo;
|
using WCS.Model.ApiModel.StoreInfo;
|
||||||
@ -22,7 +22,7 @@ using Newtonsoft.Json.Bson;
|
|||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class StoreInfoViewModel : BindableBase
|
public class StoreInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,7 @@ using System.Text;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
public class UserInfoViewModel : BindableBase
|
public class UserInfoViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -14,13 +14,13 @@ using SqlSugar;
|
|||||||
using HandyControl.Data;
|
using HandyControl.Data;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
using WCS.Model.ApiModel.User;
|
using WCS.Model.ApiModel.User;
|
||||||
using 货架标准上位机.Api;
|
using 智能仓储WCS管理系统.Api;
|
||||||
using WCS.Model;
|
using WCS.Model;
|
||||||
using WCS.Model.ApiModel;
|
using WCS.Model.ApiModel;
|
||||||
|
|
||||||
namespace 货架标准上位机.ViewModel
|
namespace 智能仓储WCS管理系统.ViewModel
|
||||||
{
|
{
|
||||||
public class UserViewModel : BindableBase
|
public class UserViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.DataChartView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DataChartView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using HandyControl.Controls;
|
using HandyControl.Controls;
|
||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
@ -18,7 +18,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数据图表
|
/// 数据图表
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.DataListView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DataListView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using HandyControl.Controls;
|
using HandyControl.Controls;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using MiniExcelLibs;
|
using MiniExcelLibs;
|
||||||
@ -19,7 +19,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数据列表
|
/// 数据列表
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.DataListWarnInfoView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DataListWarnInfoView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using HandyControl.Controls;
|
using HandyControl.Controls;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using MiniExcelLibs;
|
using MiniExcelLibs;
|
||||||
@ -19,7 +19,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数据列表
|
/// 数据列表
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.DeviceView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DeviceView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using HandyControl.Controls;
|
using HandyControl.Controls;
|
||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
using System;
|
using System;
|
||||||
@ -17,7 +17,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 设备手动信息
|
/// 设备手动信息
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Border x:Class="货架标准上位机.Views.Controls.ImageDialog"
|
<Border x:Class="智能仓储WCS管理系统.Views.Controls.ImageDialog"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
|
@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机.Views.Controls
|
namespace 智能仓储WCS管理系统.Views.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// TextDialog.xaml 的交互逻辑
|
/// TextDialog.xaml 的交互逻辑
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<UserControl xmlns:hc="https://handyorg.github.io/handycontrol" x:Class="货架标准上位机.ImageListenerView"
|
<UserControl xmlns:hc="https://handyorg.github.io/handycontrol" x:Class="智能仓储WCS管理系统.ImageListenerView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
d:DesignHeight="450" d:DesignWidth="800">
|
d:DesignHeight="450" d:DesignWidth="800">
|
||||||
<Border Style="{StaticResource BorderRegion}" BorderThickness="1" Background="{DynamicResource SecondaryRegionBrush}" Padding="0" ClipToBounds="True">
|
<Border Style="{StaticResource BorderRegion}" BorderThickness="1" Background="{DynamicResource SecondaryRegionBrush}" Padding="0" ClipToBounds="True">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using HandyControl.Controls;
|
using HandyControl.Controls;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -19,7 +19,7 @@ using System.Windows.Navigation;
|
|||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using Path = System.IO.Path;
|
using Path = System.IO.Path;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 图像监听。可针对文件夹文件进行监听显示
|
/// 图像监听。可针对文件夹文件进行监听显示
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.OutputStatChartView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.OutputStatChartView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
|
@ -14,11 +14,11 @@ using System.Windows.Media;
|
|||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using System.Runtime.InteropServices.ComTypes;
|
using System.Runtime.InteropServices.ComTypes;
|
||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 日产量统计扇形图
|
/// 日产量统计扇形图
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Border x:Class="货架标准上位机.Views.Controls.ProcessDialog"
|
<Border x:Class="智能仓储WCS管理系统.Views.Controls.ProcessDialog"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
|
@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机.Views.Controls
|
namespace 智能仓储WCS管理系统.Views.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// TextDialog.xaml 的交互逻辑
|
/// TextDialog.xaml 的交互逻辑
|
||||||
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace 货架标准上位机.Views.Controls
|
namespace 智能仓储WCS管理系统.Views.Controls
|
||||||
{
|
{
|
||||||
public class ProcessDialogViewModel : BindableBase
|
public class ProcessDialogViewModel : BindableBase
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.RoleView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.RoleView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -16,7 +16,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 角色
|
/// 角色
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<UserControl x:Class="货架标准上位机.Views.Controls.ScannerDisplayControl"
|
<UserControl x:Class="智能仓储WCS管理系统.Views.Controls.ScannerDisplayControl"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机.Views.Controls"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统.Views.Controls"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
d:DesignHeight="200" d:DesignWidth="150">
|
d:DesignHeight="200" d:DesignWidth="150">
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机.Views.Controls
|
namespace 智能仓储WCS管理系统.Views.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ShelfStatusControl.xaml 的交互逻辑
|
/// ShelfStatusControl.xaml 的交互逻辑
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<UserControl x:Class="货架标准上位机.Views.Controls.ShelfStatusControl"
|
<UserControl x:Class="智能仓储WCS管理系统.Views.Controls.ShelfStatusControl"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机.Views.Controls"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统.Views.Controls"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
d:DesignHeight="200" d:DesignWidth="150">
|
d:DesignHeight="200" d:DesignWidth="150">
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机.Views.Controls
|
namespace 智能仓储WCS管理系统.Views.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ShelfStatusControl.xaml 的交互逻辑
|
/// ShelfStatusControl.xaml 的交互逻辑
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Border x:Class="货架标准上位机.Views.Controls.TextDialog"
|
<Border x:Class="智能仓储WCS管理系统.Views.Controls.TextDialog"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
|
@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
|
|||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace 货架标准上位机.Views.Controls
|
namespace 智能仓储WCS管理系统.Views.Controls
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// TextDialog.xaml 的交互逻辑
|
/// TextDialog.xaml 的交互逻辑
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.UserView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.UserView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户
|
/// 用户
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<pi:UserControlBase x:Class="货架标准上位机.HomeView"
|
<pi:UserControlBase x:Class="智能仓储WCS管理系统.HomeView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
xmlns:controls="clr-namespace:货架标准上位机.Views.Controls"
|
xmlns:controls="clr-namespace:智能仓储WCS管理系统.Views.Controls"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<!--内容区-->
|
<!--内容区-->
|
||||||
<!--<Grid Grid.Row="0" Margin="5,5,5,0">-->
|
|
||||||
<!--货架状态显示区-->
|
<!--货架状态显示区-->
|
||||||
<Border Grid.Row="0" Margin="5,5,5,0" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
<Border Grid.Row="0" Margin="5,5,5,0" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
||||||
<hc:ScrollViewer IsInertiaEnabled="True" hc:ScrollViewerAttach.AutoHide="False">
|
<hc:ScrollViewer IsInertiaEnabled="True" hc:ScrollViewerAttach.AutoHide="False">
|
||||||
@ -25,36 +24,18 @@
|
|||||||
</WrapPanel>
|
</WrapPanel>
|
||||||
</hc:ScrollViewer>
|
</hc:ScrollViewer>
|
||||||
</Border>
|
</Border>
|
||||||
<!--</Grid>-->
|
|
||||||
<!--消息区-->
|
<!--消息区-->
|
||||||
<Border Grid.Row="1" Margin="5" Height="auto" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
<Border Grid.Row="1" Margin="5" Height="auto" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
||||||
<!--<Grid>
|
<GroupBox Grid.Column="1" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}" >
|
||||||
<Grid.ColumnDefinitions>
|
<GroupBox.Header>
|
||||||
--><!--<ColumnDefinition Width="4*"/>--><!--
|
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
|
||||||
<ColumnDefinition Width="6*"/>
|
<TextBlock Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Center">日志</TextBlock>
|
||||||
</Grid.ColumnDefinitions>-->
|
<Button Grid.Row="2" Command="{Binding SelfCheckCommand}" Background="AliceBlue" Content="手 动 自 检" ></Button>
|
||||||
<!--报警--><!--
|
<Button HorizontalAlignment="Right" Height="25" Margin="10,0" Padding="10,0" FontFamily="{StaticResource IconFont}" Command="{Binding ClearTextInfoCommand}"> 清空</Button>
|
||||||
<GroupBox Grid.Column="0" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}" Margin="5,5,5,5">
|
</Grid>
|
||||||
<GroupBox.Header>
|
</GroupBox.Header>
|
||||||
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
|
<pi:TextBoxLog Token="selfCheck" Style="{StaticResource TextBoxExtend.Multi}" Margin="-1" hc:InfoElement.Placeholder="没有日志信息" Foreground="CornflowerBlue"></pi:TextBoxLog>
|
||||||
<TextBlock Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Center">报警</TextBlock>
|
</GroupBox>
|
||||||
<Button HorizontalAlignment="Right" Height="25" Margin="10,0" Padding="10,0" FontFamily="{StaticResource IconFont}" Command="{Binding ClearTextErrCommand}"> 清除</Button>
|
|
||||||
</Grid>
|
|
||||||
</GroupBox.Header>
|
|
||||||
<TextBox Style="{StaticResource TextBoxExtend.Multi}" IsReadOnly="True" Margin="-1" Text="{Binding TextErr}" Foreground="Tomato" hc:InfoElement.Placeholder="没有报警信息"></TextBox>
|
|
||||||
</GroupBox>-->
|
|
||||||
<!--日志-->
|
|
||||||
<GroupBox Grid.Column="1" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}" >
|
|
||||||
<GroupBox.Header>
|
|
||||||
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
|
|
||||||
<TextBlock Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Center">日志</TextBlock>
|
|
||||||
<Button Grid.Row="2" Command="{Binding SelfCheckCommand}" Background="AliceBlue" Content="手 动 自 检" ></Button>
|
|
||||||
<Button HorizontalAlignment="Right" Height="25" Margin="10,0" Padding="10,0" FontFamily="{StaticResource IconFont}" Command="{Binding ClearTextInfoCommand}"> 清空</Button>
|
|
||||||
</Grid>
|
|
||||||
</GroupBox.Header>
|
|
||||||
<pi:TextBoxLog Token="selfCheck" Style="{StaticResource TextBoxExtend.Multi}" Margin="-1" hc:InfoElement.Placeholder="没有日志信息" Foreground="CornflowerBlue"></pi:TextBoxLog>
|
|
||||||
</GroupBox>
|
|
||||||
<!--</Grid>-->
|
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using Ping9719.WpfEx;
|
using Ping9719.WpfEx;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -15,9 +15,9 @@ using System.Windows.Media;
|
|||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 主页
|
/// 主页
|
||||||
@ -25,13 +25,11 @@ namespace 货架标准上位机
|
|||||||
public partial class HomeView : UserControlBase
|
public partial class HomeView : UserControlBase
|
||||||
{
|
{
|
||||||
public static HomeViewModel viewModel = new HomeViewModel();
|
public static HomeViewModel viewModel = new HomeViewModel();
|
||||||
|
|
||||||
public HomeView()
|
public HomeView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
this.DataContext = viewModel;
|
this.DataContext = viewModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadFir(object sender, EventArgs e)
|
private void loadFir(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
viewModel.wrapPanel = shelfsWrapPanel;
|
viewModel.wrapPanel = shelfsWrapPanel;
|
||||||
@ -40,8 +38,6 @@ namespace 货架标准上位机
|
|||||||
|
|
||||||
viewModel.LoadTask();
|
viewModel.LoadTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void vis(object sender, DependencyPropertyChangedEventArgs e)
|
private void vis(object sender, DependencyPropertyChangedEventArgs e)
|
||||||
{
|
{
|
||||||
if (IsInDesignMode)
|
if (IsInDesignMode)
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<pi:UserControlBase
|
<pi:UserControlBase
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
x:Class="货架标准上位机.InInventoryView"
|
x:Class="智能仓储WCS管理系统.InInventoryView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:hc="https://handyorg.github.io/handycontrol"
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
||||||
xmlns:local="clr-namespace:货架标准上位机"
|
xmlns:local="clr-namespace:智能仓储WCS管理系统"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
d:DesignHeight="737" d:DesignWidth="1192" LoadedVisible="UserControlBase_LoadedVisible" Loaded="UserControlBase_Loaded" LoadedVisibleFirst="UserControlBase_LoadedVisibleFirst">
|
d:DesignHeight="737" d:DesignWidth="1192" LoadedVisible="UserControlBase_LoadedVisible" Loaded="UserControlBase_Loaded" LoadedVisibleFirst="UserControlBase_LoadedVisibleFirst">
|
||||||
<Border Margin="0" Background="AliceBlue" CornerRadius="3" Padding="0">
|
<Border Margin="0" Background="AliceBlue" CornerRadius="3" Padding="0">
|
||||||
@ -39,7 +39,6 @@
|
|||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<Grid Grid.Row="1">
|
<Grid Grid.Row="1">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="3*"></ColumnDefinition>
|
<ColumnDefinition Width="3*"></ColumnDefinition>
|
||||||
@ -53,20 +52,12 @@
|
|||||||
<TextBlock Margin="5" FontWeight="Bold" FontSize="24" Text="停止入库码"></TextBlock>
|
<TextBlock Margin="5" FontWeight="Bold" FontSize="24" Text="停止入库码"></TextBlock>
|
||||||
<Image Margin="5" Width="125" Height="125" Source="/Resources/goOutInstore.png"></Image>
|
<Image Margin="5" Width="125" Height="125" Source="/Resources/goOutInstore.png"></Image>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<!--<GroupBox Grid.Column="1" Header="停止入库码" Padding="10">-->
|
|
||||||
<!--<Border Background="{DynamicResource RegionBrush}" CornerRadius="4">-->
|
|
||||||
|
|
||||||
<!--</Border>-->
|
|
||||||
<!--</GroupBox>-->
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
|
||||||
<Border Grid.Row="2" Margin="5,5,5,5" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
<Border Grid.Row="2" Margin="5,5,5,5" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<GroupBox Grid.Column="1" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}">
|
<GroupBox Grid.Column="1" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}">
|
||||||
<GroupBox.Header>
|
<GroupBox.Header>
|
||||||
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
|
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
|
||||||
@ -78,7 +69,6 @@
|
|||||||
</GroupBox>
|
</GroupBox>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
</pi:UserControlBase>
|
</pi:UserControlBase>
|
||||||
|
@ -12,10 +12,10 @@ using System.Windows.Input;
|
|||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
using 货架标准上位机.Views.Controls;
|
using 智能仓储WCS管理系统.Views.Controls;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InInventoryView.xaml 的交互逻辑
|
/// InInventoryView.xaml 的交互逻辑
|
||||||
@ -27,8 +27,7 @@ namespace 货架标准上位机
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
this.DataContext = viewModel;
|
this.DataContext = viewModel;
|
||||||
|
//初始化扫码枪
|
||||||
|
|
||||||
var scanners = ScannerManager.Scanners.Select(t => t).ToList();
|
var scanners = ScannerManager.Scanners.Select(t => t).ToList();
|
||||||
scanners.ForEach(t =>
|
scanners.ForEach(t =>
|
||||||
{
|
{
|
||||||
@ -45,24 +44,20 @@ namespace 货架标准上位机
|
|||||||
|
|
||||||
private void UserControlBase_Loaded(object sender, RoutedEventArgs e)
|
private void UserControlBase_Loaded(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Border_MouseUp(object sender, MouseButtonEventArgs e)
|
private void Border_MouseUp(object sender, MouseButtonEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UserControlBase_LoadedVisibleFirst(object sender, EventArgs e)
|
private void UserControlBase_LoadedVisibleFirst(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (IsInDesignMode)
|
if (IsInDesignMode)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UserControlBase_LoadedVisible(object sender, EventArgs e)
|
private void UserControlBase_LoadedVisible(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Button_PreviewKeyDown(object sender, KeyEventArgs e)
|
private void Button_PreviewKeyDown(object sender, KeyEventArgs e)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<pi:UserControlBase
|
<pi:UserControlBase
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
x:Class="货架标准上位机.InOutRecordView"
|
x:Class="智能仓储WCS管理系统.InOutRecordView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
@ -12,9 +12,9 @@ using System.Windows.Input;
|
|||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using 货架标准上位机.ViewModel;
|
using 智能仓储WCS管理系统.ViewModel;
|
||||||
|
|
||||||
namespace 货架标准上位机
|
namespace 智能仓储WCS管理系统
|
||||||
{
|
{
|
||||||
public partial class InOutRecordView : UserControlBase
|
public partial class InOutRecordView : UserControlBase
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<pi:UserControlBase
|
<pi:UserControlBase
|
||||||
xmlns:pi="https://github.com/ping9719/wpfex"
|
xmlns:pi="https://github.com/ping9719/wpfex"
|
||||||
x:Class="货架标准上位机.InterfaceRecordView"
|
x:Class="智能仓储WCS管理系统.InterfaceRecordView"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user