private void SetDeviceName() { _czkem.GetProductCode(Settings.Default._machineNo, out var sDeviceName); Settings.Default._deviceName = sDeviceName; }