软著申请修改

This commit is contained in:
hehaibing-1996
2024-10-17 12:59:41 +08:00
parent 278b1eab04
commit baa7b9716c
181 changed files with 357 additions and 497 deletions

View File

@ -20,12 +20,9 @@ namespace WCS.WebApi.Controllers
[Route("[controller]")]
public class FileDownLoadController : ControllerBase
{
public FileDownLoadController()
{
}
[HttpPost("uploadApp")]
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);
}
#region
var appVersion = new AppVersion()
{
@ -85,7 +81,6 @@ namespace WCS.WebApi.Controllers
};
DbHelp.db.Insertable(appVersion).ExecuteCommand();
#endregion
// 文件上传成功,返回成功信息
return new ResponseCommon()
{
@ -103,20 +98,16 @@ namespace WCS.WebApi.Controllers
};
}
}
[HttpGet("downloadApp")]
public IActionResult downloadApp(string fileName)
{
// 这里是文件的物理路径,你需要根据实际情况提供
var filePath = Path.Combine(Directory.GetCurrentDirectory(), $"Files/{fileName}");
// 检查文件是否存在
if (!System.IO.File.Exists(filePath))
{
return NotFound();
}
// 获取文件流
var stream = System.IO.File.OpenRead(filePath);
// 设置HTTP响应头使浏览器知道这是一个附件应该下载而不是打开
@ -134,7 +125,6 @@ namespace WCS.WebApi.Controllers
FileInfo[] files = Directory.GetFiles(directoryPath, "*.APK")
.Select(file => new FileInfo(file))
.ToArray();
if (files == null || files.Length == 0)
{
return new ResponseCommon<string>()
@ -160,7 +150,6 @@ namespace WCS.WebApi.Controllers
Code = 201,
Message = "服务器不存在App安装包"
};
}
}

View File

@ -1,4 +1,3 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using System.Configuration;
@ -88,7 +87,6 @@ namespace WebApi
builder.Services.AddScoped<IWarningService, WarningService>();
builder.Services.AddScoped<IInOutRecordService, InOutRecordService>();
builder.Services.AddScoped<IUploadService, UploadService>();
builder.Services.AddScoped<ISingleLightService, SingleLightService>();
builder.Services.AddScoped<IMXL4Service, MXL4Service>();

View File

@ -15,7 +15,7 @@ using System.Windows.Input;
using WCS.Model;
using WCS.Model.ApiModel.MXBackgroundThread;
namespace .Api
namespace WCS管理系统.Api
{
public static class ApiHelp
{

View File

@ -1,7 +1,7 @@
<Application x:Class="货架标准上位机.App"
<Application x:Class="智能仓储WCS管理系统.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:hc="https://handyorg.github.io/handycontrol">
<Application.Resources>
@ -19,7 +19,7 @@
<local:AuthVisConverter x:Key="AuthVisConverter"/>
<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>-->

View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace
namespace WCS管理系统
{
/// <summary>
/// App.xaml 的交互逻辑

View File

@ -11,7 +11,7 @@ using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace
namespace WCS管理系统
{
/// <summary>
/// 权限转换器转为bool

View File

@ -8,7 +8,7 @@ using System.Windows.Data;
using System.Windows;
using HandyControl.Tools;
namespace
namespace WCS管理系统
{
/// <summary>
/// 权限转换器

View File

@ -8,7 +8,7 @@ using System.Windows.Data;
using System.Windows;
using HandyControl.Tools;
namespace
namespace WCS管理系统
{
/// <summary>
/// 权限转换器

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Media;
namespace
namespace WCS管理系统
{
class WorkItemBackgroundConverter : IValueConverter
{

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 默认数据库

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
[SugarTable("test_table")]
public class MyTestTable

View File

@ -8,7 +8,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 警告信息数据库

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 本地文件
@ -14,7 +14,7 @@ namespace 货架标准上位机
public class LocalFile
{
/// <summary>
/// 程序运行名称(货架标准上位机.exe
/// 程序运行名称(智能仓储WCS管理系统.exe
/// </summary>
public static readonly string AppName = AppDomain.CurrentDomain.FriendlyName.Contains('.') ? AppDomain.CurrentDomain.FriendlyName : $"{AppDomain.CurrentDomain.FriendlyName}.exe";//多环境兼容性
/// <summary>

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 本地全局静态

View File

@ -6,7 +6,7 @@ using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 认证项

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 增删改查CRUD枚举

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using Ping9719.WpfEx;
using System;
using System.Collections.Generic;
@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 设备监控

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 树节点

View File

@ -5,7 +5,7 @@ using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// Ip和端口

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// json配置文件

View File

@ -7,9 +7,9 @@ using System.Threading.Tasks;
using TouchSocket.Core;
using TouchSocket.SerialPorts;
using TouchSocket.Sockets;
using .Views.Controls;
using WCS管理系统.Views.Controls;
namespace
namespace WCS管理系统
{
public static class ScannerManager
{

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 文件夹操作

View File

@ -6,9 +6,9 @@ using System.Threading.Tasks;
using System.Windows.Documents;
using WCS.Model;
using WCS.Model.ApiModel.Home;
using .Api;
using WCS管理系统.Api;
namespace .Tool
namespace WCS管理系统.Tool
{
public static class GetBaseData
{

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// json时间转换器

View File

@ -9,7 +9,7 @@ using System.Threading.Tasks;
using WCS.Model;
using WCS.Model.ApiModel;
namespace
namespace WCS管理系统
{
/// <summary>
/// 日志类型

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace .Tool
namespace WCS管理系统.Tool
{
public static class PrintTender
{

View File

@ -7,7 +7,7 @@ using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
namespace
namespace WCS管理系统
{
/// <summary>
/// 富文本框扩展类

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 警告信息容器

View File

@ -5,7 +5,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace
namespace WCS管理系统
{
/// <summary>
/// 循环、暂停、继续、停止扩展

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class AboutViewModel : BindableBase
{

View File

@ -9,7 +9,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class DataChartViewModel : BindableBase
{

View File

@ -14,7 +14,7 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class DataListViewModel : BindableBase
{

View File

@ -14,7 +14,7 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class DataListWarnInfoViewModel : BindableBase
{

View File

@ -12,9 +12,9 @@ using System.Windows.Input;
using System.Windows.Markup;
using WCS.Model;
using WCS.Model.ApiModel.Home;
using .Api;
using WCS管理系统.Api;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class DeviceViewModel : BindableBase
{

View File

@ -11,14 +11,14 @@ using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;
using HandyControl.Tools.Extension;
using .Views.Controls;
using .Api;
using WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using WCS.Model;
using System.Diagnostics;
using System.Security.Cryptography;
using WCS.Model.ApiModel.Home;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class HomeViewModel : BindableBase
{
@ -39,12 +39,10 @@ namespace 货架标准上位机.ViewModel
Thread.Sleep(2000);
}
});
#region
SelfCheck();
#endregion
}
#region
private string textErr;
/// <summary>
@ -146,7 +144,6 @@ namespace 货架标准上位机.ViewModel
#endregion
}
#endregion
#region
/// <summary>
/// 页面第一次加载时执行的任务

View File

@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class ImageListenerViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
@ -31,7 +31,7 @@ using System.Security.Cryptography;
using Ping9719.WpfEx;
using System.Diagnostics.Eventing.Reader;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class InInventoryViewModel : BindableBase
{
@ -121,11 +121,9 @@ namespace 货架标准上位机.ViewModel
}
catch (Exception ex)
{
}
finally
{
}
});
}
@ -207,7 +205,6 @@ namespace 货架标准上位机.ViewModel
}
}
}
/// <summary>
/// 扫到模组码的数据处理
/// </summary>
@ -257,7 +254,6 @@ namespace 货架标准上位机.ViewModel
#endregion
}
}
//调用接口 本次扫码的货架进入入库模式
#region
try
@ -392,7 +388,6 @@ namespace 货架标准上位机.ViewModel
}
#endregion
}
public ICommand BtnEndCommand { get => new DelegateCommand(BtnEnd); }
public void BtnEnd()
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
@ -28,10 +28,10 @@ using HandyControl.Tools.Extension;
using WCS.Model.ApiModel.Stocktaking;
using WCS.Model.ApiModel.InOutRecord;
using System.Collections.ObjectModel;
using static .ViewModel.InOutRecordViewModel;
using static WCS管理系统.ViewModel.InOutRecordViewModel;
using WCS.Model.ApiModel.Home;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class InOutRecordViewModel : BindableBase
{

View File

@ -14,15 +14,15 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
using WCS.Model.ApiModel.InterfaceRecord;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class InterfaceRecordViewModel : BindableBase
{

View File

@ -22,10 +22,10 @@ using TouchSocket.Core;
using WCS.Model;
using WCS.Model.ApiModel.OutStore;
using WCS.Model.ApiModel.Stocktaking;
using .Api;
using .ViewModel;
using WCS管理系统.Api;
using WCS管理系统.ViewModel;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MXOutInventoryViewModel : BindableBase
{

View File

@ -18,13 +18,13 @@ using TouchSocket.Core;
using System.Windows.Markup;
using System.Security.Policy;
using WCS.Model.ApiModel.MXBackgroundThread;
using ;
using WCS管理系统;
using WCS.Model.ApiModel.MatInventoryDetail;
using .Api;
using WCS管理系统.Api;
using System.Runtime.CompilerServices;
using WCS.Model;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MXOutOrderDetailViewViewModel : BindableBase
{

View File

@ -16,9 +16,9 @@ using System.Windows.Input;
using TouchSocket.Core;
using Newtonsoft.Json;
using WCS.Model.ApiModel.MXBackgroundThread;
using .Api;
using WCS管理系统.Api;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MXOutOrderViewModel : BindableBase
{

View File

@ -25,10 +25,10 @@ using WCS.Model.ApiModel.MatInventoryDetail;
using WCS.Model.ApiModel.MXBackgroundThread;
using WCS.Model.ApiModel.OutStore;
using WCS.Model.ApiModel.Stocktaking;
using .Api;
using .ViewModel;
using WCS管理系统.Api;
using WCS管理系统.ViewModel;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MXPDViewModel : BindableBase
{

View File

@ -15,7 +15,7 @@ using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Markup;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MainViewModel : BindableBase
{
@ -67,7 +67,7 @@ namespace 货架标准上位机.ViewModel
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)
{
MessageBox.Warning("已有实列在运行!", "提示");

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
@ -24,7 +24,7 @@ using WCS.Model.ApiModel.InterfaceRecord;
using WCS.BLL.DbModels;
using WCS.Model.ApiModel.MatBaseInfo;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MatBaseInfoAddOrUpdateViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
@ -25,9 +25,9 @@ using WCS.BLL.DbModels;
using WCS.Model.ApiModel.MatBaseInfo;
using System.Collections.ObjectModel;
using HandyControl.Tools.Extension;
using .Tool;
using WCS管理系统.Tool;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MatBaseInfoViewModel : BindableBase
{

View File

@ -13,11 +13,11 @@ using System.Windows.Input;
using WCS.BLL.DbModels;
using WCS.Model;
using WCS.Model.ApiModel.MatBaseInfo;
using .Api;
using .Tool;
using .Views.Controls;
using WCS管理系统.Api;
using WCS管理系统.Tool;
using WCS管理系统.Views.Controls;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MatBaseInoScanGenarateMatInfoViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
@ -25,11 +25,11 @@ using WCS.BLL.DbModels;
using WCS.Model.ApiModel.MatBaseInfo;
using System.Collections.ObjectModel;
using HandyControl.Tools.Extension;
using .Tool;
using WCS管理系统.Tool;
using System.Printing;
using System.Printing.IndexedProperties;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MatInfoViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
@ -28,7 +28,7 @@ using HandyControl.Tools.Extension;
using WCS.Model.ApiModel.Stocktaking;
using WCS.Model.ApiModel.Home;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class MatInventoryDetailViewModel : BindableBase
{

View File

@ -9,8 +9,8 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using .Views.Controls;
using .Api;
using WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel.Home;
using WCS.Model.ApiModel.StoreInfo;
@ -21,7 +21,7 @@ using WCS.Model.ApiModel;
using Newtonsoft.Json.Bson;
using System.Windows;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class ModuleInfoViewModel : BindableBase
{

View File

@ -11,9 +11,9 @@ using WCS.BLL.DbModels;
using WCS.Model;
using WCS.Model.ApiModel.Home;
using WCS.Model.ApiModel.MatInventoryDetail;
using .Api;
using WCS管理系统.Api;
namespace .ViewModels
namespace WCS管理系统.ViewModels
{
public class OutInventoryAddDucumentViewModel : BindableBase
{

View File

@ -11,9 +11,9 @@ using WCS.BLL.DbModels;
using WCS.Model;
using WCS.Model.ApiModel.MatBaseInfo;
using WCS.Model.ApiModel.MatInventoryDetail;
using .Api;
using WCS管理系统.Api;
namespace .ViewModels
namespace WCS管理系统.ViewModels
{
public class OutInventoryAddMatViewModel : BindableBase
{

View File

@ -16,10 +16,10 @@ using System.Windows.Media.Imaging;
using WCS.Model;
using WCS.Model.ApiModel.MatBaseInfo;
using WCS.Model.ApiModel.OutStore;
using .Api;
using .Views.Controls;
using WCS管理系统.Api;
using WCS管理系统.Views.Controls;
namespace .ViewModels
namespace WCS管理系统.ViewModels
{
public class OutInventoryDocumentViewModel : BindableBase
{

View File

@ -12,9 +12,9 @@ using WCS.BLL.DbModels;
using WCS.Model;
using WCS.Model.ApiModel.MatBaseInfo;
using WCS.Model.ApiModel.MatInventoryDetail;
using .Api;
using WCS管理系统.Api;
namespace .ViewModels
namespace WCS管理系统.ViewModels
{
public class OutInventoryImportDucumentViewModel : BindableBase
{

View File

@ -22,10 +22,10 @@ using TouchSocket.Core;
using WCS.Model;
using WCS.Model.ApiModel.OutStore;
using WCS.Model.ApiModel.Stocktaking;
using .Api;
using .ViewModel;
using WCS管理系统.Api;
using WCS管理系统.ViewModel;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class OutInventoryViewModel : BindableBase
{
@ -33,7 +33,6 @@ namespace 货架标准上位机.ViewModel
{
RefreshOutOrderList();
}
#region Property
private OutOrderModel selectedOutOrder;
public OutOrderModel SelectedOutOrder
@ -124,7 +123,6 @@ namespace 货架标准上位机.ViewModel
});
}
#endregion
#region Command
public ICommand BtnOutOrderCommand { get => new DelegateCommand(BtnOutOrder); }
public void BtnOutOrder()

View File

@ -9,7 +9,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class OutputStatChartViewModel : BindableBase
{

View File

@ -9,7 +9,7 @@ using System.Text;
using System.Threading.Tasks;
using WCS.Model;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
//https://dandelioncloud.cn/article/details/1472765022102446082
public class RoleEditTreeViewModel : BindableBase, ITreeNode<RoleEditTreeViewModel>

View File

@ -7,12 +7,12 @@ using System.Windows.Input;
using SqlSugar;
using WCS.Model.ApiModel;
using HandyControl.Tools.Extension;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class RoleViewModel : BindableBase
{

View File

@ -19,11 +19,11 @@ using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media.Imaging;
using WCS.Model;
using .Api;
using .Views.Controls;
using WCS管理系统.Api;
using WCS管理系统.Views.Controls;
using static System.Net.WebRequestMethods;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class SetViewModel : BindableBase
{

View File

@ -6,9 +6,9 @@ using System.Threading.Tasks;
using WCS.Model;
using WCS.Model.ApiModel.Home;
using WCS.Model.ApiModel.StoreInfo;
using .Tool;
using WCS管理系统.Tool;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class ShelfInfoAddOrUpdateViewModel : BindableBase
{

View File

@ -9,8 +9,8 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using .Views.Controls;
using .Api;
using WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel.Home;
using WCS.Model.ApiModel.StoreInfo;
@ -20,7 +20,7 @@ using WCS.Model.ApiModel.User;
using WCS.Model.ApiModel;
using Newtonsoft.Json.Bson;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class ShelfInfoViewModel : BindableBase
{

View File

@ -12,9 +12,9 @@ using WCS.Model;
using WCS.Model.ApiModel.MatBaseInfo;
using WCS.Model.ApiModel.OutStore;
using WCS.Model.ApiModel.Stocktaking;
using .Api;
using WCS管理系统.Api;
namespace .ViewModels
namespace WCS管理系统.ViewModels
{
public class StocktakingDocumentViewModel : BindableBase
{

View File

@ -22,10 +22,10 @@ using TouchSocket.Core;
using WCS.Model;
using WCS.Model.ApiModel.OutStore;
using WCS.Model.ApiModel.Stocktaking;
using .Api;
using .ViewModel;
using WCS管理系统.Api;
using WCS管理系统.ViewModel;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class StocktakingViewModel : BindableBase
{

View File

@ -9,8 +9,8 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using .Views.Controls;
using .Api;
using WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel.Home;
using WCS.Model.ApiModel.StoreInfo;
@ -22,7 +22,7 @@ using Newtonsoft.Json.Bson;
using System.Windows;
using System.Security.Cryptography;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class StoreInfoViewModel : BindableBase
{

View File

@ -6,7 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using WCS.Model.ApiModel;
namespace
namespace WCS管理系统
{
public class UserInfoViewModel : BindableBase
{

View File

@ -14,13 +14,13 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using .Views.Controls;
using WCS管理系统.Views.Controls;
using WCS.Model.ApiModel.User;
using .Api;
using WCS管理系统.Api;
using WCS.Model;
using WCS.Model.ApiModel;
namespace .ViewModel
namespace WCS管理系统.ViewModel
{
public class UserViewModel : BindableBase
{

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
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"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using HandyControl.Controls;
using Ping9719.WpfEx;
using SqlSugar;
@ -18,7 +18,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace
namespace WCS管理系统
{
/// <summary>
/// 数据图表

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using HandyControl.Controls;
using Microsoft.Win32;
using MiniExcelLibs;
@ -19,7 +19,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace
namespace WCS管理系统
{
/// <summary>
/// 数据列表

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using HandyControl.Controls;
using Microsoft.Win32;
using MiniExcelLibs;
@ -19,7 +19,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace
namespace WCS管理系统
{
/// <summary>
/// 数据列表

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using HandyControl.Controls;
using Ping9719.WpfEx;
using System;
@ -17,7 +17,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace
namespace WCS管理系统
{
/// <summary>
/// 设备手动信息

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"

View File

@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace .Views.Controls
namespace WCS管理系统.Views.Controls
{
/// <summary>
/// TextDialog.xaml 的交互逻辑

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Border Style="{StaticResource BorderRegion}" BorderThickness="1" Background="{DynamicResource SecondaryRegionBrush}" Padding="0" ClipToBounds="True">

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using HandyControl.Controls;
using System;
using System.Collections.Generic;
@ -19,7 +19,7 @@ using System.Windows.Navigation;
using System.Windows.Shapes;
using Path = System.IO.Path;
namespace
namespace WCS管理系统
{
/// <summary>
/// 图像监听。可针对文件夹文件进行监听显示

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
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:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
mc:Ignorable="d"

View File

@ -14,11 +14,11 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using .ViewModel;
using WCS管理系统.ViewModel;
using System.Runtime.InteropServices.ComTypes;
using Ping9719.WpfEx;
namespace
namespace WCS管理系统
{
/// <summary>
/// 日产量统计扇形图

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"

View File

@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace .Views.Controls
namespace WCS管理系统.Views.Controls
{
/// <summary>
/// TextDialog.xaml 的交互逻辑

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace .Views.Controls
namespace WCS管理系统.Views.Controls
{
public class ProcessDialogViewModel : BindableBase
{

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using Ping9719.WpfEx;
using System;
using System.Collections.Generic;
@ -16,7 +16,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace
namespace WCS管理系统
{
/// <summary>
/// 角色

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
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"
d:DesignHeight="200" d:DesignWidth="150">

View File

@ -14,7 +14,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace .Views.Controls
namespace WCS管理系统.Views.Controls
{
/// <summary>
/// ShelfStatusControl.xaml 的交互逻辑

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
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"
d:DesignHeight="200" d:DesignWidth="150">

View File

@ -14,7 +14,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace .Views.Controls
namespace WCS管理系统.Views.Controls
{
/// <summary>
/// ShelfStatusControl.xaml 的交互逻辑

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"

View File

@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace .Views.Controls
namespace WCS管理系统.Views.Controls
{
/// <summary>
/// TextDialog.xaml 的交互逻辑

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,8 +1,8 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using Ping9719.WpfEx;
using System;
namespace
namespace WCS管理系统
{
/// <summary>
/// 用户

View File

@ -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:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:controls="clr-namespace:货架标准上位机.Views.Controls"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
xmlns:controls="clr-namespace:智能仓储WCS管理系统.Views.Controls"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"
@ -17,7 +17,6 @@
</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">
<hc:ScrollViewer IsInertiaEnabled="True" hc:ScrollViewerAttach.AutoHide="False">
@ -25,25 +24,8 @@
</WrapPanel>
</hc:ScrollViewer>
</Border>
<!--</Grid>-->
<!--消息区-->
<Border Grid.Row="1" Margin="5" Height="auto" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
<!--<Grid>
<Grid.ColumnDefinitions>
--><!--<ColumnDefinition Width="4*"/>--><!--
<ColumnDefinition Width="6*"/>
</Grid.ColumnDefinitions>-->
<!--报警--><!--
<GroupBox Grid.Column="0" Background="White" Padding="0" Style="{StaticResource GroupBoxTab}" Margin="5,5,5,5">
<GroupBox.Header>
<Grid Width="{Binding ActualWidth,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type GroupBox}}}">
<TextBlock Margin="5,0" HorizontalAlignment="Left" VerticalAlignment="Center">报警</TextBlock>
<Button HorizontalAlignment="Right" Height="25" Margin="10,0" Padding="10,0" FontFamily="{StaticResource IconFont}" Command="{Binding ClearTextErrCommand}">&#xe652; 清除</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}}}">
@ -54,7 +36,6 @@
</GroupBox.Header>
<pi:TextBoxLog Token="selfCheck" Style="{StaticResource TextBoxExtend.Multi}" Margin="-1" hc:InfoElement.Placeholder="没有日志信息" Foreground="CornflowerBlue"></pi:TextBoxLog>
</GroupBox>
<!--</Grid>-->
</Border>
</Grid>

View File

@ -1,4 +1,4 @@
using .ViewModel;
using WCS管理系统.ViewModel;
using Ping9719.WpfEx;
using System;
using System.Collections.Generic;
@ -15,9 +15,9 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using .Views.Controls;
using WCS管理系统.Views.Controls;
namespace
namespace WCS管理系统
{
/// <summary>
/// 主页
@ -25,13 +25,11 @@ namespace 货架标准上位机
public partial class HomeView : UserControlBase
{
public static HomeViewModel viewModel = new HomeViewModel();
public HomeView()
{
InitializeComponent();
this.DataContext = viewModel;
}
private void loadFir(object sender, EventArgs e)
{
viewModel.wrapPanel = shelfsWrapPanel;
@ -40,8 +38,6 @@ namespace 货架标准上位机
viewModel.LoadTask();
}
private void vis(object sender, DependencyPropertyChangedEventArgs e)
{
if (IsInDesignMode)

View File

@ -1,12 +1,12 @@
<pi:UserControlBase
xmlns:pi="https://github.com/ping9719/wpfex"
x:Class="货架标准上位机.InInventoryView"
x:Class="智能仓储WCS管理系统.InInventoryView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:货架标准上位机"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
mc:Ignorable="d"
d:DesignHeight="737" d:DesignWidth="1192" LoadedVisible="UserControlBase_LoadedVisible" Loaded="UserControlBase_Loaded" LoadedVisibleFirst="UserControlBase_LoadedVisibleFirst">
<Border Margin="0" Background="AliceBlue" CornerRadius="3" Padding="0">
@ -39,7 +39,6 @@
</StackPanel>
</Grid>
</Border>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*"></ColumnDefinition>
@ -53,20 +52,12 @@
<TextBlock Margin="5" FontWeight="Bold" FontSize="24" Text="停止入库码"></TextBlock>
<Image Margin="5" Width="125" Height="125" Source="/Resources/goOutInstore.png"></Image>
</StackPanel>
<!--<GroupBox Grid.Column="1" Header="停止入库码" Padding="10">-->
<!--<Border Background="{DynamicResource RegionBrush}" CornerRadius="4">-->
<!--</Border>-->
<!--</GroupBox>-->
</Grid>
<Border Grid.Row="2" Margin="5,5,5,5" BorderThickness="1" Background="White" BorderBrush="DodgerBlue" CornerRadius="3">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<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}}}">
@ -78,7 +69,6 @@
</GroupBox>
</Grid>
</Border>
</Grid>
</Border>
</pi:UserControlBase>

View File

@ -12,10 +12,10 @@ using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using .ViewModel;
using .Views.Controls;
using WCS管理系统.ViewModel;
using WCS管理系统.Views.Controls;
namespace
namespace WCS管理系统
{
/// <summary>
/// InInventoryView.xaml 的交互逻辑
@ -27,8 +27,7 @@ namespace 货架标准上位机
{
InitializeComponent();
this.DataContext = viewModel;
//初始化扫码枪
var scanners = ScannerManager.Scanners.Select(t => t).ToList();
scanners.ForEach(t =>
{
@ -45,24 +44,20 @@ namespace 货架标准上位机
private void UserControlBase_Loaded(object sender, RoutedEventArgs e)
{
}
private void Border_MouseUp(object sender, MouseButtonEventArgs e)
{
}
private void UserControlBase_LoadedVisibleFirst(object sender, EventArgs e)
{
if (IsInDesignMode)
return;
}
private void UserControlBase_LoadedVisible(object sender, EventArgs e)
{
}
private void Button_PreviewKeyDown(object sender, KeyEventArgs e)

View File

@ -1,6 +1,6 @@
<pi:UserControlBase
xmlns:pi="https://github.com/ping9719/wpfex"
x:Class="货架标准上位机.InOutRecordView"
x:Class="智能仓储WCS管理系统.InOutRecordView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

View File

@ -12,9 +12,9 @@ using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using .ViewModel;
using WCS管理系统.ViewModel;
namespace
namespace WCS管理系统
{
public partial class InOutRecordView : UserControlBase
{

View File

@ -1,6 +1,6 @@
<pi:UserControlBase
xmlns:pi="https://github.com/ping9719/wpfex"
x:Class="货架标准上位机.InterfaceRecordView"
x:Class="智能仓储WCS管理系统.InterfaceRecordView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
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