首次提交:添加src文件夹代码
This commit is contained in:
29
Cowain.Bake.Model/Entity/TaskEntity.cs
Normal file
29
Cowain.Bake.Model/Entity/TaskEntity.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Cowain.Bake.Model.Entity
|
||||
{
|
||||
public class TaskEntity : TTaskRecord
|
||||
{
|
||||
public int FromStationNumber { get; set; }
|
||||
public int FromRow { get; set; }
|
||||
public int FromColumn { get; set; }
|
||||
public int ToStationNumber { get; set; }
|
||||
public int ToRow { get; set; }
|
||||
public int ToColumn { get; set; }
|
||||
public int CountCmd { get; set; }
|
||||
|
||||
|
||||
//public void Copy(TTaskRecord parent, TaskEntity child)
|
||||
//{
|
||||
// foreach (PropertyInfo prop in typeof(TTaskRecord).GetProperties())
|
||||
// {
|
||||
// if (prop.CanRead && prop.CanWrite)
|
||||
// {
|
||||
// var value = prop.GetValue(parent);
|
||||
// prop.SetValue(child, value);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user