盟讯公司1.搜索栏可以输入英文字符 2.退出出库模式异常
This commit is contained in:
@ -337,8 +337,10 @@ namespace WCS.BLL.HardWare
|
|||||||
if (module.CurrentOutSns == null || module.CurrentOutSns.Count == 0)
|
if (module.CurrentOutSns == null || module.CurrentOutSns.Count == 0)
|
||||||
{
|
{
|
||||||
Logs.Write($"GoInOutstoreByModule货架【{ShelfCode}】,模组【{module.ModuleCode}】,不存在需要继续出的物料,给其复位。", LogsType.Outstore);
|
Logs.Write($"GoInOutstoreByModule货架【{ShelfCode}】,模组【{module.ModuleCode}】,不存在需要继续出的物料,给其复位。", LogsType.Outstore);
|
||||||
|
|
||||||
//不需要这个模组继续亮灯了
|
//不需要这个模组继续亮灯了
|
||||||
module.Reset(TcpCleint);
|
module.GoOutOutStoreMode(TcpCleint);
|
||||||
|
Thread.Sleep(400);
|
||||||
|
|
||||||
//判断此货架是否还有出库模式的模块
|
//判断此货架是否还有出库模式的模块
|
||||||
#region 判断是否退出入库 是否亮下一次灯逻辑
|
#region 判断是否退出入库 是否亮下一次灯逻辑
|
||||||
@ -352,6 +354,7 @@ namespace WCS.BLL.HardWare
|
|||||||
//退出出库模式
|
//退出出库模式
|
||||||
var taskGoOut = Task.Run(() =>
|
var taskGoOut = Task.Run(() =>
|
||||||
{
|
{
|
||||||
|
Thread.Sleep(10);
|
||||||
GoOutOutstore();
|
GoOutOutstore();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -62,7 +62,8 @@ namespace 货架标准上位机
|
|||||||
|
|
||||||
private void txtMatQty1_PreviewTextInput(object sender, TextCompositionEventArgs e)
|
private void txtMatQty1_PreviewTextInput(object sender, TextCompositionEventArgs e)
|
||||||
{
|
{
|
||||||
if (!Regex.IsMatch(e.Text, "^[0-9]"))
|
//要求可以输入英文字符
|
||||||
|
if (!Regex.IsMatch(e.Text, @"^[0-9A-Za-z]+$"))
|
||||||
{
|
{
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user