private void UpdateMemberStatusToMachine(Dictionary <string, bool> status) { CheckStatus(""); axCZKEM1.EnableDevice(1, false); foreach (var userstatus in status) { axCZKEM1.SSR_EnableUser(1, userstatus.Key, userstatus.Value); } axCZKEM1.RefreshData(1);//the data in the device should be refreshed axCZKEM1.EnableDevice(1, true); }