赛特制冷 前端主页修改

This commit is contained in:
hehaibing-1996
2025-01-08 15:51:28 +08:00
parent dfe65e806d
commit 0576085e37
189 changed files with 521 additions and 419 deletions

View File

@ -119,31 +119,42 @@ namespace WCS.WebApi.Controllers
[HttpGet("getLatestAppName")]
public ResponseCommon<string> getLatestAppName()
{
string directoryPath = Path.Combine(AppContext.BaseDirectory, $"Files");
try
{
string directoryPath = Path.Combine(AppContext.BaseDirectory, $"Files");
// 获取目录下的所有文件信息
FileInfo[] files = Directory.GetFiles(directoryPath, "*.APK")
.Select(file => new FileInfo(file))
.ToArray();
if (files == null || files.Length == 0)
{
return new ResponseCommon<string>()
// 获取目录下的所有文件信息
FileInfo[] files = Directory.GetFiles(directoryPath, "*.APK")
.Select(file => new FileInfo(file))
.ToArray();
if (files == null || files.Length == 0)
{
Code = 201,
Message = "服务器不存在App安装包"
};
}
//获取最后修改的一个
FileInfo lastModifiedFile = files.OrderByDescending(f => f.LastWriteTime).First();
if (lastModifiedFile != null)
{
return new ResponseCommon<string>()
return new ResponseCommon<string>()
{
Code = 201,
Message = "服务器不存在App安装包"
};
}
//获取最后修改的一个
FileInfo lastModifiedFile = files.OrderByDescending(f => f.LastWriteTime).First();
if (lastModifiedFile != null)
{
Code = 200,
Data = lastModifiedFile.Name
};
return new ResponseCommon<string>()
{
Code = 200,
Data = lastModifiedFile.Name
};
}
else
{
return new ResponseCommon<string>()
{
Code = 201,
Message = "服务器不存在App安装包"
};
}
}
else
catch
{
return new ResponseCommon<string>()
{

View File

@ -30,12 +30,6 @@ namespace WebApi
//<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
LocalFile.SaveConfig();
//<2F><>ʼ<EFBFBD><CABC>TCP<43><50><EFBFBD><EFBFBD>
TCPClientManager.InitTcpClient();
//<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>ܻ<EFBFBD><DCBB><EFBFBD><EFBFBD><EFBFBD>Ϣ
ShelfManager.InitShelves();
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>ط<EFBFBD><D8B7>߳<EFBFBD>
WarningManager.StartWarningMessageThread();

View File

@ -6,6 +6,10 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Content Remove="data\jsconfig.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="MiniExcel" Version="1.31.3" />
@ -23,6 +27,21 @@
</ItemGroup>
<ItemGroup>
<None Include="data\jsconfig.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Update="data\auth.db3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="data\data.db3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="data\log.db3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Files\APP.app">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

View File

@ -0,0 +1,16 @@
{
"ModuleCodePatterns": null,
"IsSameMatCodeOut": true,
"DataDbPath": "",
"LogDbPath": "",
"AuthDbPath": "",
"IsAccessWMS": false,
"WMSUrl": null,
"IsResetDBOrTable": false,
"InstoreTimeOut": 5000,
"IsMx": false,
"InputStockInStr": "",
"BunkerOutStr": "",
"QueryBybar": "",
"GroupName": "CC"
}

View File

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

View File

@ -1,7 +1,7 @@
<Application x:Class="智能仓储WCS管理系统.App"
<Application x:Class="智慧物流软件系统.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
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,,,/智能仓储WCS管理系统;component/Fonts/#iconfont</FontFamily>
<FontFamily x:Key="IconFont">pack://application,,,/智慧物流软件系统;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 WCS管理系
namespace
{
/// <summary>
/// App.xaml 的交互逻辑

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WCS管理系
namespace
{
/// <summary>
/// 本地文件
@ -14,7 +14,7 @@ namespace 智能仓储WCS管理系统
public class LocalFile
{
/// <summary>
/// 程序运行名称(智能仓储WCS管理系统.exe
/// 程序运行名称(智慧物流软件系统.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 WCS管理系
namespace
{
/// <summary>
/// 本地全局静态

View File

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

View File

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

View File

@ -1,4 +1,4 @@
using WCS管理系统.ViewModel;
using .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 WCS管理系
namespace
{
/// <summary>
/// 设备监控

View File

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

View File

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

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -14,7 +14,7 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using .Api;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using .Views.Controls;
using .Api;
using WCS.Model;
using System.Diagnostics;
using System.Security.Cryptography;
using WCS.Model.ApiModel.Home;
namespace WCS管理系统.ViewModel
namespace .ViewModel
{
public class HomeViewModel : BindableBase
{

View File

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

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .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 WCS管理系统.ViewModel
namespace .ViewModel
{
public class InInventoryViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .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 WCS管理系.ViewModel.InOutRecordViewModel;
using static .ViewModel.InOutRecordViewModel;
using WCS.Model.ApiModel.Home;
namespace WCS管理系统.ViewModel
namespace .ViewModel
{
public class InOutRecordViewModel : BindableBase
{

View File

@ -14,15 +14,15 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .Api;
using WCS.Model;
using WCS.Model.ApiModel;
using System.Windows.Controls;
using WCS.Model.ApiModel.InterfaceRecord;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using WCS管理系统.ViewModel;
using .Api;
using .ViewModel;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系;
using ;
using WCS.Model.ApiModel.MatInventoryDetail;
using WCS管理系统.Api;
using .Api;
using System.Runtime.CompilerServices;
using WCS.Model;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using .Api;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using WCS管理系统.ViewModel;
using .Api;
using .ViewModel;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.ViewModel
namespace .ViewModel
{
public class MainViewModel : BindableBase
{
@ -67,7 +67,7 @@ namespace 智能仓储WCS管理系统.ViewModel
public bool InitAgo()
{
//只允许打开一个
mutex = new Mutex(true, string.Concat("MengXun智能仓储WCS管理系统", Path.GetFileNameWithoutExtension(LocalFile.AppName)), out bool createdNew);
mutex = new Mutex(true, string.Concat("MengXun智慧物流软件系统", 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 WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .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 WCS管理系统.ViewModel
namespace .ViewModel
{
public class MatBaseInfoAddOrUpdateViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .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 WCS管理系统.Tool;
using .Tool;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using WCS管理系统.Tool;
using WCS管理系统.Views.Controls;
using .Api;
using .Tool;
using .Views.Controls;
namespace WCS管理系统.ViewModel
namespace .ViewModel
{
public class MatBaseInoScanGenarateMatInfoViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .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 WCS管理系统.Tool;
using .Tool;
using System.Printing;
using System.Printing.IndexedProperties;
namespace WCS管理系统.ViewModel
namespace .ViewModel
{
public class MatInfoViewModel : BindableBase
{

View File

@ -14,9 +14,9 @@ using SqlSugar;
using HandyControl.Data;
using System.Windows;
using Newtonsoft.Json.Linq;
using WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .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 WCS管理系统.ViewModel
namespace .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 WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using .Views.Controls;
using .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 WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using .Api;
namespace WCS管理系统.ViewModels
namespace .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 WCS管理系统.Api;
using .Api;
namespace WCS管理系统.ViewModels
namespace .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 WCS管理系统.Api;
using WCS管理系统.Views.Controls;
using .Api;
using .Views.Controls;
namespace WCS管理系统.ViewModels
namespace .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 WCS管理系统.Api;
using .Api;
namespace WCS管理系统.ViewModels
namespace .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 WCS管理系统.Api;
using WCS管理系统.ViewModel;
using .Api;
using .ViewModel;
namespace WCS管理系统.ViewModel
namespace .ViewModel
{
public class OutInventoryViewModel : BindableBase
{

View File

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

View File

@ -9,7 +9,7 @@ using System.Text;
using System.Threading.Tasks;
using WCS.Model;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Views.Controls;
using .Views.Controls;
using WCS.Model.ApiModel.User;
using WCS管理系统.Api;
using .Api;
using WCS.Model;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using WCS管理系统.Views.Controls;
using .Api;
using .Views.Controls;
using static System.Net.WebRequestMethods;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Tool;
using .Tool;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using .Views.Controls;
using .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 WCS管理系统.ViewModel
namespace .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 WCS管理系统.Api;
using .Api;
namespace WCS管理系统.ViewModels
namespace .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 WCS管理系统.Api;
using WCS管理系统.ViewModel;
using .Api;
using .ViewModel;
namespace WCS管理系统.ViewModel
namespace .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 WCS管理系统.Views.Controls;
using WCS管理系统.Api;
using .Views.Controls;
using .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 WCS管理系统.ViewModel
namespace .ViewModel
{
public class StoreInfoViewModel : BindableBase
{

View File

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

View File

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

View File

@ -1,9 +1,9 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DataChartView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
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 WCS管理系统.ViewModel;
using .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 WCS管理系
namespace
{
/// <summary>
/// 数据图表

View File

@ -1,9 +1,9 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DataListView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using WCS管理系统.ViewModel;
using .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 WCS管理系
namespace
{
/// <summary>
/// 数据列表

View File

@ -1,9 +1,9 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DataListWarnInfoView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using WCS管理系统.ViewModel;
using .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 WCS管理系
namespace
{
/// <summary>
/// 数据列表

View File

@ -1,9 +1,9 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.DeviceView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using WCS管理系统.ViewModel;
using .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 WCS管理系
namespace
{
/// <summary>
/// 设备手动信息

View File

@ -1,4 +1,4 @@
<Border x:Class="智能仓储WCS管理系统.Views.Controls.ImageDialog"
<Border x:Class="智慧物流软件系统.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 WCS管理系统.Views.Controls
namespace .Views.Controls
{
/// <summary>
/// TextDialog.xaml 的交互逻辑

View File

@ -1,9 +1,9 @@
<UserControl xmlns:hc="https://handyorg.github.io/handycontrol" x:Class="智能仓储WCS管理系统.ImageListenerView"
<UserControl xmlns:hc="https://handyorg.github.io/handycontrol" x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
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 WCS管理系统.ViewModel;
using .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 WCS管理系
namespace
{
/// <summary>
/// 图像监听。可针对文件夹文件进行监听显示

View File

@ -1,9 +1,9 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.OutputStatChartView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
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 WCS管理系统.ViewModel;
using .ViewModel;
using System.Runtime.InteropServices.ComTypes;
using Ping9719.WpfEx;
namespace WCS管理系
namespace
{
/// <summary>
/// 日产量统计扇形图

View File

@ -1,4 +1,4 @@
<Border x:Class="智能仓储WCS管理系统.Views.Controls.ProcessDialog"
<Border x:Class="智慧物流软件系统.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 WCS管理系统.Views.Controls
namespace .Views.Controls
{
/// <summary>
/// TextDialog.xaml 的交互逻辑

View File

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

View File

@ -1,9 +1,9 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.RoleView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

@ -1,4 +1,4 @@
using WCS管理系统.ViewModel;
using .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 WCS管理系
namespace
{
/// <summary>
/// 角色

View File

@ -1,9 +1,9 @@
<UserControl x:Class="智能仓储WCS管理系统.Views.Controls.ScannerDisplayControl"
<UserControl x:Class="智慧物流软件系统.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:智能仓储WCS管理系统.Views.Controls"
xmlns:local="clr-namespace:智慧物流软件系统.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 WCS管理系统.Views.Controls
namespace .Views.Controls
{
/// <summary>
/// ShelfStatusControl.xaml 的交互逻辑

View File

@ -1,9 +1,9 @@
<UserControl x:Class="智能仓储WCS管理系统.Views.Controls.ShelfStatusControl"
<UserControl x:Class="智慧物流软件系统.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:智能仓储WCS管理系统.Views.Controls"
xmlns:local="clr-namespace:智慧物流软件系统.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 WCS管理系统.Views.Controls
namespace .Views.Controls
{
/// <summary>
/// ShelfStatusControl.xaml 的交互逻辑

View File

@ -1,4 +1,4 @@
<Border x:Class="智能仓储WCS管理系统.Views.Controls.TextDialog"
<Border x:Class="智慧物流软件系统.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 WCS管理系统.Views.Controls
namespace .Views.Controls
{
/// <summary>
/// TextDialog.xaml 的交互逻辑

View File

@ -1,9 +1,9 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.UserView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:local="clr-namespace:智慧物流软件系统"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

View File

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

View File

@ -1,10 +1,10 @@
<pi:UserControlBase x:Class="智能仓储WCS管理系统.HomeView"
<pi:UserControlBase x:Class="智慧物流软件系统.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:智能仓储WCS管理系统"
xmlns:controls="clr-namespace:智能仓储WCS管理系统.Views.Controls"
xmlns:local="clr-namespace:智慧物流软件系统"
xmlns:controls="clr-namespace:智慧物流软件系统.Views.Controls"
mc:Ignorable="d"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:pi="https://github.com/ping9719/wpfex"

Some files were not shown because too many files have changed in this diff Show More