You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4C/GummingEntity/Model/HardUnitFlowStepProperty.cs

599 lines
14 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/////////////////////////////////////////////////////////////////
//
// (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开发版权所有违者必究32032519810221811023810511@qq.com
//
/////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using GummingCommon;
namespace GummingEntity
{
public class UnitTag : ViewModelBase
{
/// Row
/// </summary>
private int _Row;
public int Row
{
get { return _Row; }
set
{
_Row = value;
OnPropertyChanged("Row");
}
}
/// Column
/// </summary>
private int _Column;
public int Column
{
get { return _Column; }
set
{
_Column = value;
OnPropertyChanged("Column");
}
}
/// FormulaId
/// </summary>
private string _FormulaId;
public string FormulaId
{
get { return _FormulaId; }
set
{
_FormulaId = value;
OnPropertyChanged("FormulaId");
}
}
/// FormulaText
/// </summary>
private string _FormulaText;
public string FormulaText
{
get { return _FormulaText; }
set
{
_FormulaText = value;
OnPropertyChanged("FormulaText");
}
}
}
public partial class HardUnitFlowStepEntity
{
/// Unit1Text
/// </summary>
private string _Unit1Text;
public string Unit1Text
{
get { return _Unit1Text; }
set
{
_Unit1Text = value;
OnPropertyChanged("Unit1Text");
}
}
/// <summary>
/// Unit2Text
/// </summary>
private string _Unit2Text;
public string Unit2Text
{
get { return _Unit2Text; }
set
{
_Unit2Text = value;
OnPropertyChanged("Unit2Text");
}
}
/// <summary>
/// Unit3Text
/// </summary>
private string _Unit3Text;
public string Unit3Text
{
get { return _Unit3Text; }
set
{
_Unit3Text = value;
OnPropertyChanged("Unit3Text");
}
}
/// <summary>
/// Unit4Text
/// </summary>
private string _Unit4Text;
public string Unit4Text
{
get { return _Unit4Text; }
set
{
_Unit4Text = value;
OnPropertyChanged("Unit4Text");
}
}
/// <summary>
/// Unit5Text
/// <summary>
/// </summary>
private string _Unit5Text;
public string Unit5Text
{
get { return _Unit5Text; }
set
{
_Unit5Text = value;
OnPropertyChanged("Unit5Text");
}
}
/// <summary>
/// Unit6Text
/// </summary>
private string _Unit6Text;
public string Unit6Text
{
get { return _Unit6Text; }
set
{
_Unit6Text = value;
OnPropertyChanged("Unit6Text");
}
}
/// <summary>
/// Unit7Text
/// </summary>
private string _Unit7Text;
public string Unit7Text
{
get { return _Unit7Text; }
set
{
_Unit7Text = value;
OnPropertyChanged("Unit7Text");
}
}
/// <summary>
/// Unit8Text
/// </summary>
private string _Unit8Text;
public string Unit8Text
{
get { return _Unit8Text; }
set
{
_Unit8Text = value;
OnPropertyChanged("Unit8Text");
}
}
/// <summary>
/// Unit9Text
/// </summary>
private string _Unit9Text;
public string Unit9Text
{
get { return _Unit9Text; }
set
{
_Unit9Text = value;
OnPropertyChanged("Unit9Text");
}
}
/// Unit1Tag
/// </summary>
private UnitTag _Unit1Tag;
public UnitTag Unit1Tag
{
get { return _Unit1Tag; }
set
{
_Unit1Tag = value;
OnPropertyChanged("Unit1Tag");
}
}
/// <summary>
/// Unit2Tag
/// </summary>
private UnitTag _Unit2Tag;
public UnitTag Unit2Tag
{
get { return _Unit2Tag; }
set
{
_Unit2Tag = value;
OnPropertyChanged("Unit2Tag");
}
}
/// <summary>
/// Unit3Tag
/// </summary>
private UnitTag _Unit3Tag;
public UnitTag Unit3Tag
{
get { return _Unit3Tag; }
set
{
_Unit3Tag = value;
OnPropertyChanged("Unit3Tag");
}
}
/// <summary>
/// Unit4Tag
/// </summary>
private UnitTag _Unit4Tag;
public UnitTag Unit4Tag
{
get { return _Unit4Tag; }
set
{
_Unit4Tag = value;
OnPropertyChanged("Unit4Tag");
}
}
/// <summary>
/// Unit5Tag
/// <summary>
/// </summary>
private UnitTag _Unit5Tag;
public UnitTag Unit5Tag
{
get { return _Unit5Tag; }
set
{
_Unit5Tag = value;
OnPropertyChanged("Unit5Tag");
}
}
/// <summary>
/// Unit6Tag
/// </summary>
private UnitTag _Unit6Tag;
public UnitTag Unit6Tag
{
get { return _Unit6Tag; }
set
{
_Unit6Tag = value;
OnPropertyChanged("Unit6Tag");
}
}
/// <summary>
/// Unit7Tag
/// </summary>
private UnitTag _Unit7Tag;
public UnitTag Unit7Tag
{
get { return _Unit7Tag; }
set
{
_Unit7Tag = value;
OnPropertyChanged("Unit7Tag");
}
}
/// <summary>
/// Unit8Tag
/// </summary>
private UnitTag _Unit8Tag;
public UnitTag Unit8Tag
{
get { return _Unit8Tag; }
set
{
_Unit8Tag = value;
OnPropertyChanged("Unit8Tag");
}
}
/// <summary>
/// Unit9Tag
/// </summary>
private UnitTag _Unit9Tag;
public UnitTag Unit9Tag
{
get { return _Unit9Tag; }
set
{
_Unit9Tag = value;
OnPropertyChanged("Unit9Tag");
}
}
}
/// <summary>
/// HardUnitFlowStep
/// </summary>
[Serializable]
public partial class HardUnitFlowStepEntity : ViewModelBase, ICloneable
{
/// <summary>
///
/// </summary>
private string _RecId;
public string RecId
{
get { return _RecId; }
set
{
_RecId = value;
OnPropertyChanged("RecId");
}
}
/// <summary>
/// 步骤顺序
/// </summary>
private int _StepIndex;
public int StepIndex
{
get { return _StepIndex; }
set
{
_StepIndex = value;
OnPropertyChanged("StepIndex");
}
}
/// <summary>
/// Unit2
/// </summary>
private string _Unit2;
public string Unit2
{
get { return _Unit2; }
set
{
_Unit2 = value;
OnPropertyChanged("Unit2");
}
}
/// <summary>
/// Unit3
/// </summary>
private string _Unit3;
public string Unit3
{
get { return _Unit3; }
set
{
_Unit3 = value;
OnPropertyChanged("Unit3");
}
}
/// <summary>
/// Unit4
/// </summary>
private string _Unit4;
public string Unit4
{
get { return _Unit4; }
set
{
_Unit4 = value;
OnPropertyChanged("Unit4");
}
}
/// <summary>
/// Unit5
/// </summary>
private string _Unit5;
public string Unit5
{
get { return _Unit5; }
set
{
_Unit5 = value;
OnPropertyChanged("Unit5");
}
}
/// <summary>
/// Unit6
/// </summary>
private string _Unit6;
public string Unit6
{
get { return _Unit6; }
set
{
_Unit6 = value;
OnPropertyChanged("Unit6");
}
}
/// <summary>
/// Unit7
/// </summary>
private string _Unit7;
public string Unit7
{
get { return _Unit7; }
set
{
_Unit7 = value;
OnPropertyChanged("Unit7");
}
}
/// <summary>
/// Unit8
/// </summary>
private string _Unit8;
public string Unit8
{
get { return _Unit8; }
set
{
_Unit8 = value;
OnPropertyChanged("Unit8");
}
}
/// <summary>
/// Unit9
/// </summary>
private string _Unit9;
public string Unit9
{
get { return _Unit9; }
set
{
_Unit9 = value;
OnPropertyChanged("Unit9");
}
}
/// <summary>
/// 步骤编号
/// </summary>
private string _StepCode;
public string StepCode
{
get { return _StepCode; }
set
{
_StepCode = value;
OnPropertyChanged("StepCode");
}
}
/// <summary>
/// 步骤名称
/// </summary>
private string _StepName;
public string StepName
{
get { return _StepName; }
set
{
_StepName = value;
OnPropertyChanged("StepName");
}
}
/// <summary>
/// 配方
/// </summary>
private string _FlowId;
public string FlowId
{
get { return _FlowId; }
set
{
_FlowId = value;
OnPropertyChanged("FlowId");
}
}
/// <summary>
/// Unit1
/// </summary>
private string _Unit1;
public string Unit1
{
get { return _Unit1; }
set
{
_Unit1 = value;
OnPropertyChanged("Unit1");
}
}
/// <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()
{
HardUnitFlowStepEntity obj = new HardUnitFlowStepEntity();
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;
}
}
}