From 19168c7e5e9ad2f903005a47b248e287f8622c25 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期一, 23 六月 2025 09:29:24 +0800 Subject: [PATCH] 1 --- 2025年6月12日/AuxAllWCS/Build/Project/代码/ViewModel.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 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 1e0dcbc..fd2b8e6 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,7 +28,6 @@ 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 @@ -179,6 +178,7 @@ var inde = device.location.ToList().FindIndex(x => x == wcsTask.S_START_LOC) == 0; string V = inde ? "R05" : "R06"; Conn.榛樿Redis.SetValue(device.deviceName + "." + V, "true", device.deviceName + "Queue"); + TcpServer.TrayIps.Remove(device.deviceNo[inde ? 0 : 1]); } } @@ -239,7 +239,7 @@ string V2 = inde ? "R10_LAST" : "R11_LAST"; //Conn.榛樿Redis.SetValue(device2.deviceName + "." + V2, "true", device2.deviceName + "Queue"); - RedisHelper.Add(device2.deviceName + "." + V2, "true", out string msg1); + GZ.Modular.Redis.RedisHelper.Add(device2.deviceName + "." + V2, "true", out string msg1); TcpServer.TrayIps.Remove(device2.deviceNo[inde ? 0 : 1]); } } -- Gitblit v1.9.1