|
|
/////////////////////////////////////////////////////////////////
|
|
|
//
|
|
|
// (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
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// HardStillicide
|
|
|
/// </summary>
|
|
|
[Serializable]
|
|
|
public partial class HardStillicideEntity : ViewModelBase, ICloneable
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
private string _RecId;
|
|
|
public string RecId
|
|
|
{
|
|
|
get { return _RecId; }
|
|
|
set
|
|
|
{
|
|
|
_RecId = value;
|
|
|
OnPropertyChanged("RecId");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 打胶类型
|
|
|
/// </summary>
|
|
|
private int? _StillicideType;
|
|
|
public int? StillicideType
|
|
|
{
|
|
|
get { return _StillicideType; }
|
|
|
set
|
|
|
{
|
|
|
_StillicideType = value;
|
|
|
OnPropertyChanged("StillicideType");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// ClearPosition
|
|
|
/// </summary>
|
|
|
private decimal _ClearPosition;
|
|
|
public decimal ClearPosition
|
|
|
{
|
|
|
get { return _ClearPosition; }
|
|
|
set
|
|
|
{
|
|
|
_ClearPosition = value;
|
|
|
OnPropertyChanged("ClearPosition");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// ClearSpeed
|
|
|
/// </summary>
|
|
|
private decimal _ClearSpeed;
|
|
|
public decimal ClearSpeed
|
|
|
{
|
|
|
get { return _ClearSpeed; }
|
|
|
set
|
|
|
{
|
|
|
_ClearSpeed = value;
|
|
|
OnPropertyChanged("ClearSpeed");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// InjectPosition
|
|
|
/// </summary>
|
|
|
private decimal _InjectPosition;
|
|
|
public decimal InjectPosition
|
|
|
{
|
|
|
get { return _InjectPosition; }
|
|
|
set
|
|
|
{
|
|
|
_InjectPosition = value;
|
|
|
OnPropertyChanged("InjectPosition");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// InjectSpeed
|
|
|
/// </summary>
|
|
|
private decimal _InjectSpeed;
|
|
|
public decimal InjectSpeed
|
|
|
{
|
|
|
get { return _InjectSpeed; }
|
|
|
set
|
|
|
{
|
|
|
_InjectSpeed = value;
|
|
|
OnPropertyChanged("InjectSpeed");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// BackPosition
|
|
|
/// </summary>
|
|
|
private decimal _BackPosition;
|
|
|
public decimal BackPosition
|
|
|
{
|
|
|
get { return _BackPosition; }
|
|
|
set
|
|
|
{
|
|
|
_BackPosition = value;
|
|
|
OnPropertyChanged("BackPosition");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// BackSpeed
|
|
|
/// </summary>
|
|
|
private decimal _BackSpeed;
|
|
|
public decimal BackSpeed
|
|
|
{
|
|
|
get { return _BackSpeed; }
|
|
|
set
|
|
|
{
|
|
|
_BackSpeed = value;
|
|
|
OnPropertyChanged("BackSpeed");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// FillSpeed
|
|
|
/// </summary>
|
|
|
private decimal _FillSpeed;
|
|
|
public decimal FillSpeed
|
|
|
{
|
|
|
get { return _FillSpeed; }
|
|
|
set
|
|
|
{
|
|
|
_FillSpeed = value;
|
|
|
OnPropertyChanged("FillSpeed");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 打胶编号
|
|
|
/// </summary>
|
|
|
private string _StillicideCode;
|
|
|
public string StillicideCode
|
|
|
{
|
|
|
get { return _StillicideCode; }
|
|
|
set
|
|
|
{
|
|
|
_StillicideCode = value;
|
|
|
OnPropertyChanged("StillicideCode");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 打胶名称
|
|
|
/// </summary>
|
|
|
private string _StillicideName;
|
|
|
public string StillicideName
|
|
|
{
|
|
|
get { return _StillicideName; }
|
|
|
set
|
|
|
{
|
|
|
_StillicideName = value;
|
|
|
OnPropertyChanged("StillicideName");
|
|
|
}
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 工位编号
|
|
|
/// </summary>
|
|
|
private string _StationCode;
|
|
|
public string StationCode
|
|
|
{
|
|
|
get { return _StationCode; }
|
|
|
set
|
|
|
{
|
|
|
_StationCode = value;
|
|
|
OnPropertyChanged("StationCode");
|
|
|
}
|
|
|
}
|
|
|
/// <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()
|
|
|
{
|
|
|
HardStillicideEntity obj = new HardStillicideEntity();
|
|
|
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;
|
|
|
}
|
|
|
}
|
|
|
} |