|
|
/////////////////////////////////////////////////////////////////
|
|
|
//
|
|
|
// (C) Copyright 2013, Kenneth, Inc.
|
|
|
// All rights reserved. Confidential. Except as pursuant
|
|
|
// to a written agreement with Kenneth, this software may
|
|
|
// not be used or distributed. This software may be covered
|
|
|
// by one or more patents.
|
|
|
//
|
|
|
// 本软件为Kenneth开发,版权所有,违者必究,320325198102218110,23810511@qq.com
|
|
|
//
|
|
|
/////////////////////////////////////////////////////////////////
|
|
|
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Data;
|
|
|
using System.Reflection;
|
|
|
using GummingCommon;
|
|
|
|
|
|
namespace GummingEntity
|
|
|
{
|
|
|
public partial class HardMapTypeEntity
|
|
|
{
|
|
|
private bool _IsChecked;
|
|
|
public bool IsChecked
|
|
|
{
|
|
|
get { return _IsChecked; }
|
|
|
set
|
|
|
{
|
|
|
_IsChecked = value;
|
|
|
OnPropertyChanged("IsChecked");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// HardMapType
|
|
|
/// </summary>
|
|
|
[Serializable]
|
|
|
public partial class HardMapTypeEntity : ViewModelBase, ICloneable
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private string _RecId;
|
|
|
public string RecId
|
|
|
{
|
|
|
get { return _RecId; }
|
|
|
set
|
|
|
{
|
|
|
_RecId = value;
|
|
|
OnPropertyChanged("RecId");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 花篮槽数
|
|
|
/// </summary>
|
|
|
private int? _SlotNum;
|
|
|
public int? SlotNum
|
|
|
{
|
|
|
get { return _SlotNum; }
|
|
|
set
|
|
|
{
|
|
|
_SlotNum = value;
|
|
|
OnPropertyChanged("SlotNum");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 最小厚度
|
|
|
/// </summary>
|
|
|
private int? _MinThick;
|
|
|
public int? MinThick
|
|
|
{
|
|
|
get { return _MinThick; }
|
|
|
set
|
|
|
{
|
|
|
_MinThick = value;
|
|
|
OnPropertyChanged("MinThick");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 最大厚度
|
|
|
/// </summary>
|
|
|
private int? _MaxThick;
|
|
|
public int? MaxThick
|
|
|
{
|
|
|
get { return _MaxThick; }
|
|
|
set
|
|
|
{
|
|
|
_MaxThick = value;
|
|
|
OnPropertyChanged("MaxThick");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 目标厚度
|
|
|
/// </summary>
|
|
|
private int? _TargetThick;
|
|
|
public int? TargetThick
|
|
|
{
|
|
|
get { return _TargetThick; }
|
|
|
set
|
|
|
{
|
|
|
_TargetThick = value;
|
|
|
OnPropertyChanged("TargetThick");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 倾斜度
|
|
|
/// </summary>
|
|
|
private int _Cross;
|
|
|
public int Cross
|
|
|
{
|
|
|
get { return _Cross; }
|
|
|
set
|
|
|
{
|
|
|
_Cross = value;
|
|
|
OnPropertyChanged("Cross");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 编码
|
|
|
/// </summary>
|
|
|
private string _TypeCode;
|
|
|
public string TypeCode
|
|
|
{
|
|
|
get { return _TypeCode; }
|
|
|
set
|
|
|
{
|
|
|
_TypeCode = value;
|
|
|
OnPropertyChanged("TypeCode");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 名称
|
|
|
/// </summary>
|
|
|
private string _TypeName;
|
|
|
public string TypeName
|
|
|
{
|
|
|
get { return _TypeName; }
|
|
|
set
|
|
|
{
|
|
|
_TypeName = value;
|
|
|
OnPropertyChanged("TypeName");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private int? _OrderBy;
|
|
|
public int? OrderBy
|
|
|
{
|
|
|
get { return _OrderBy; }
|
|
|
set
|
|
|
{
|
|
|
_OrderBy = value;
|
|
|
OnPropertyChanged("OrderBy");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private string _CreateBy;
|
|
|
public string CreateBy
|
|
|
{
|
|
|
get { return _CreateBy; }
|
|
|
set
|
|
|
{
|
|
|
_CreateBy = value;
|
|
|
OnPropertyChanged("CreateBy");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private DateTime? _CreateTime;
|
|
|
public DateTime? CreateTime
|
|
|
{
|
|
|
get { return _CreateTime; }
|
|
|
set
|
|
|
{
|
|
|
_CreateTime = value;
|
|
|
OnPropertyChanged("CreateTime");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private string _ModifyBy;
|
|
|
public string ModifyBy
|
|
|
{
|
|
|
get { return _ModifyBy; }
|
|
|
set
|
|
|
{
|
|
|
_ModifyBy = value;
|
|
|
OnPropertyChanged("ModifyBy");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private DateTime? _ModifyTime;
|
|
|
public DateTime? ModifyTime
|
|
|
{
|
|
|
get { return _ModifyTime; }
|
|
|
set
|
|
|
{
|
|
|
_ModifyTime = value;
|
|
|
OnPropertyChanged("ModifyTime");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private int? _IsActive;
|
|
|
public int? IsActive
|
|
|
{
|
|
|
get { return _IsActive; }
|
|
|
set
|
|
|
{
|
|
|
_IsActive = value;
|
|
|
OnPropertyChanged("IsActive");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public object Clone()
|
|
|
{
|
|
|
HardMapTypeEntity obj = new HardMapTypeEntity();
|
|
|
Type t = this.GetType();
|
|
|
PropertyInfo[] properties = t.GetProperties();
|
|
|
foreach (PropertyInfo pi in properties)
|
|
|
{
|
|
|
if (pi.CanWrite)
|
|
|
{
|
|
|
object value = pi.GetValue(this, null);
|
|
|
if (obj.GetType().GetProperty(pi.Name) != null)
|
|
|
{
|
|
|
pi.SetValue(obj, value, null);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
return obj;
|
|
|
}
|
|
|
}
|
|
|
} |