添加消息提示
This commit is contained in:
parent
2d5dabf977
commit
adf92e852d
|
@ -546,10 +546,20 @@ namespace DM_Weight.ViewModels
|
||||||
_portUtil.WriteQuantity(item.DrawerNo, item.ColNo, item.totalCount);
|
_portUtil.WriteQuantity(item.DrawerNo, item.ColNo, item.totalCount);
|
||||||
//await Task.Delay(200);
|
//await Task.Delay(200);
|
||||||
}
|
}
|
||||||
|
SnackbarBackground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#00e676"));
|
||||||
|
SnackbarMessageQueue.Enqueue("标签渲染完成!");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//GetChannelsByDrawerNo();
|
//GetChannelsByDrawerNo();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
SnackbarBackground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#b71c1c"));
|
||||||
|
SnackbarMessageQueue.Enqueue("请选择库位");
|
||||||
|
return;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
public DelegateCommand BtnCloseCommand
|
public DelegateCommand BtnCloseCommand
|
||||||
|
|
Loading…
Reference in New Issue