|
|
@@ -370,15 +370,16 @@ namespace HKCardManager |
|
|
|
|
|
|
|
if (string.IsNullOrEmpty(res)) |
|
|
|
{ |
|
|
|
MessageBox.Show("提示!!!\n 请放入卡片,在选择销卡..."); |
|
|
|
|
|
|
|
MessageLogNotify.GetInstance.Show("请放入卡片"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
UHFCardHelper.GetInstance().WriteCard("000"); |
|
|
|
string worker = new IdWorker(1, 1).NextId().ToString();// ID生成 |
|
|
|
var resm = UHFCardHelper.GetInstance().WriteCard(worker); |
|
|
|
MessageLogNotify.GetInstance.ShowWarning("卡片重置成功,卡号"+ worker); |
|
|
|
MessageBox.Show("提示!!!\n 卡片重置成功,卡号"+ worker); |
|
|
|
MessageLogNotify.GetInstance.Show($"卡片重置成功,原卡号【{res}】,新卡号【{worker}】"); |
|
|
|
MessageBox.Show($"提示!!!\n 卡片重置成功,原卡号【{res}】,新卡号【{worker}】"); |
|
|
|
} |
|
|
|
catch (Exception) |
|
|
|
{ |
|
|
|