Back GetCassete
Chỉ cho phép login qrcode 1 lần Thêm timeout cho read cassete
This commit is contained in:
@@ -120,7 +120,6 @@ namespace SafeBagDE70
|
||||
notesInSession = new NotesInSession();
|
||||
spNotesInSession.DataContext = notesInSession;
|
||||
|
||||
|
||||
ResetButtons();
|
||||
btnStart.IsEnabled = true;
|
||||
btnLogout.IsEnabled = true;
|
||||
@@ -1053,7 +1052,13 @@ namespace SafeBagDE70
|
||||
if (CheckPreStoreValid(previousCassetData, AppData.MaxNotes, sessions))
|
||||
{
|
||||
cCmdRsp.SendXXCmd((byte)Command.CMD_DE_STORESTART);
|
||||
bSuccess = WaitUntilCountReady(10);
|
||||
bSuccess = WaitUntilCountReady(20);
|
||||
if (!bSuccess)
|
||||
{
|
||||
cCmdRsp.SendXXCmd((byte)Command.CMD_DE_STORESTART);
|
||||
bSuccess = WaitUntilCountReady(20);
|
||||
}
|
||||
|
||||
var newCasstData = AppData.GetCassetteData();
|
||||
|
||||
str = "AFTER STORE \r\n[CASSETTE]" + AppData.GetNotesString(newCasstData);
|
||||
|
||||
Reference in New Issue
Block a user