private void GetSerialNo() { ISdk sdkService = DependencyResolver.Current.GetService <ISdk>(); GlobalData.Instance.SerialNo = sdkService.GetSerialNo(); Log.Logger.Debug($"【device no.】:{GlobalData.Instance.SerialNo}"); }