public void OnDeviceStateChange(bool _bDeviceLost) { if (!_bDeviceLost) { ImageSetting.ResetCurrentResolution(); } }