/// <summary>
        /// Finish up the Cloud Connector scan job.
        /// </summary>
        /// <param name="device">The device.</param>
        protected override PluginExecutionResult FinishJob(IDevice device)
        {
            var result = new PluginExecutionResult(PluginResult.Failed, "Error occurred After Login and Job Configuration.", "Device automation error.");

            CloudConnectorApp.JobExecutionOptions options = new CloudConnectorApp.JobExecutionOptions();
            options.JobType       = EnumUtil.GetByDescription <ConnectorJobType>(LinkJobType);
            options.PageCount     = _data.PageCount;
            options.OriginalSides = _data.CloudScanOptions.OriginalSides;

            UpdateStatus($"Starting Execution Scan Job :: {_data.CloudAppType.GetDescription()}");
            _cloudApp.ExecutionJob(options, _data.CloudScanOptions.UseOriginalSides);
            result = new PluginExecutionResult(PluginResult.Passed);
            return(result);
        }
        /// <summary>
        /// Finish up the Cloud Connector print job.
        /// </summary>
        /// <param name="device">The device.</param>
        protected override PluginExecutionResult FinishJob(IDevice device)
        {
            var result = new PluginExecutionResult(PluginResult.Failed, "Error occurred After Login and Job Configuration.", "Device automation error.");

            CloudConnectorApp.JobExecutionOptions options = new CloudConnectorApp.JobExecutionOptions();
            options.JobType   = EnumUtil.GetByDescription <ConnectorJobType>(LinkJobType);
            options.PageCount = _data.CloudPrintOptions.PageCount;

            if ((_data.FileList != null) && (_data.FileList.Count > 0))
            {
                options.DocumentCount = _data.FileList.Count;
            }
            else
            {
                options.DocumentCount = 1;
            }

            UpdateStatus($"Starting Execution Print Job :: {_data.CloudAppType.GetDescription()}");
            _cloudApp.ExecutionJob(options);
            result = new PluginExecutionResult(PluginResult.Passed);
            return(result);
        }