public bool SignOut(DrawerFlag _flag, int _id, int _managerid, int _employeeid) { lock (this.syncRoot) { CashDrawer _drawer = null; if (TryGetDrawer(_flag, out _drawer, _id, _managerid, _employeeid)) { return(_drawer.SignOut(time)); } return(false); } }