コード例 #1
0
ファイル: jobcard.cs プロジェクト: vibhum21/DotNet
        } //End of dtor

        public string StartServicing()
        {
            job engineServicingJob = new job();

            engineServicingJob.Title       = "Replace Enging Oil ";
            engineServicingJob.Description = "Engine Oil need to be changed after 6000 Km";
            engineServicingJob.JobCategory = "Engine";
            Guid newGuid = Guid.NewGuid();

            engineServicingJob.Jobid = newGuid.ToString();
            this.jobs[0]             = engineServicingJob;
            Status = "Inprogress";
            return(Status);
        }