using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Dto
{
///
///
///
public class InspectRecordItem
{
///
///
///
///
public InspectRecordItem(IStation.Model.InspectRecord rhs)
{
this.ID = rhs.ID;
this.ProductID = rhs.ProductID;
this.RepairRequestID = rhs.RepairRequestID;
this.WorryCount = rhs.WorryCount;
this.EmployeeID = rhs.EmployeeID;
this.RecordDay = rhs.RecordDay;
this.Note = rhs.Note;
if (rhs.CompleteStatus == IStation.Model.InspectRecord.eCompleteStatus.巡检中)
this.CompleteStatusName = "部分完成";
else if (rhs.CompleteStatus == IStation.Model.InspectRecord.eCompleteStatus.巡检完成)
this.CompleteStatusName = "完成";
else if (rhs.CompleteStatus == IStation.Model.InspectRecord.eCompleteStatus.未巡检)
this.CompleteStatusName = "未巡检";
this.ProgressInfo = rhs.ProgressInfo;//进度 类似 2/10 表示10项 填写了2项
}
///
///
///
public long ID { get; set; }
///
///
///
public string RecordDay { get; set; }
///
///
///
public long ProductID { get; set; }
///
///
///
public string ProductName { get; set; }
///
///
///
public string ProductCode { get; set; }
///
///
///
public string ProductNO { get; set; }
///
///
///
public long RepairRequestID { get; set; }
///
///
///
public string CompleteStatusName { get; set; }
///
///
///
public int WorryCount { get; set; }
///
///
///
public string Note { get; set; }
///
///
///
public long EmployeeID { get; set; }
///
///
///
public string EmployeeName { get; set; }
///
///
///
public string ProgressInfo { get; set; }
}
}