public void SetDevice(OeipDeviceInfo oeipDevice) { this.Id = oeipDevice.id; this.DeviceId = oeipDevice.deviceId; this.DeviceName = oeipDevice.deviceName; this.GetCameraFormatList(this.Id); OeipHelper.setDeviceDataAction(this.Id, onReviceDelegate); OeipHelper.setDeviceEventAction(this.Id, onEventDelegate); }