From 0fdee7bc3b061e62052047019330ffa705df7085 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期四, 19 六月 2025 13:50:12 +0800 Subject: [PATCH] 1 --- 2025年6月12日/AuxAllWCS/Build/Project/代码/ViewModel.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/ViewModel.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/ViewModel.cs" index 74fea72..9013fa8 100644 --- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/ViewModel.cs" +++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/ViewModel.cs" @@ -28,6 +28,7 @@ using GZ.DB.Repository.OIDATABASE; using GZ.DB.IRepository.OIDATABASE; using GZ.DB.Entity.OIDATABASE; +using GZ.Modular.Redis; namespace GZ.Projects.AuxAllWCS { public partial class ViewModel : System.ComponentModel.INotifyPropertyChanged @@ -233,7 +234,9 @@ //string V = inde ? "R05" : "R06"; //Conn.榛樿Redis.SetValue(device2.deviceName + "." + V, "true", device2.deviceName + "Queue"); string V2 = inde ? "R10_LAST" : "R11_LAST"; - Conn.榛樿Redis.SetValue(device2.deviceName + "." + V2, "true", device2.deviceName + "Queue"); + //Conn.榛樿Redis.SetValue(device2.deviceName + "." + V2, "true", device2.deviceName + "Queue"); + + RedisHelper.Add(device2.deviceName + "." + V2, "true", out string msg1); TcpServer.TrayIps.Remove(device2.deviceNo[inde ? 0 : 1]); } } -- Gitblit v1.9.1