Esempio n. 1
0
        public override void SetStatus(CloudPrintJobStatus status)
        {
            this.Status       = status;
            this.ErrorCode    = null;
            this.ErrorMessage = null;
            _Proxy.UpdatePrintJob(this);
            WriteJobJson();
            WriteJobXml();

            if (status == CloudPrintJobStatus.DONE)
            {
#if !DEBUG
                File.Delete(_PrintDataFileName);
#endif
            }
        }
Esempio n. 2
0
        public override void SetStatus(CloudPrintJobStatus status)
        {
            this.Status       = status;
            this.ErrorCode    = null;
            this.ErrorMessage = null;
            _Proxy.UpdatePrintJob(this);
            WriteJobJson();
            WriteJobXml();

            if (status == CloudPrintJobStatus.DONE)
            {
                if (!Config.KeepPrintFile)
                {
                    File.Delete(_PrintDataFileName);
                }
            }
        }
Esempio n. 3
0
 public virtual void SetStatus(CloudPrintJobStatus status)
 {
     throw new NotImplementedException();
 }
 public virtual void SetStatus(CloudPrintJobStatus status)
 {
     throw new NotImplementedException();
 }
        public override void SetStatus(CloudPrintJobStatus status)
        {
            this.Status = status;
            this.ErrorCode = null;
            this.ErrorMessage = null;
            _Proxy.UpdatePrintJob(this);
            WriteJobJson();
            WriteJobXml();

            if (status == CloudPrintJobStatus.DONE)
            {
            #if !DEBUG
                File.Delete(_PrintDataFileName);
            #endif
            }
        }