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.
99 lines
2.6 KiB
99 lines
2.6 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Collections;
|
|
|
|
namespace HelloTeamcenter.hello
|
|
{
|
|
class OriginTypeRule
|
|
{
|
|
private string defaulttype = ""; //属性default
|
|
|
|
public string Defaulttype
|
|
{
|
|
get { return defaulttype; }
|
|
set { defaulttype = value; }
|
|
}
|
|
|
|
private Hashtable sourcetable = null; //<seq,source>用于存放需要的cad图纸信息
|
|
|
|
public Hashtable Sourcetable
|
|
{
|
|
get { return sourcetable; }
|
|
set { sourcetable = value; }
|
|
}
|
|
|
|
private Hashtable starttable = null; //<seq,startwith>用于存放startwith判断条件
|
|
|
|
public Hashtable Starttable
|
|
{
|
|
get { return starttable; }
|
|
set { starttable = value; }
|
|
}
|
|
|
|
private Hashtable endtable = null; //<seq,endwith>用于存放endwith判断条件
|
|
|
|
public Hashtable Endtable
|
|
{
|
|
get { return endtable; }
|
|
set { endtable = value; }
|
|
}
|
|
|
|
private Hashtable containtable = null; //<seq,contain>用于存放contain的判断条件
|
|
|
|
public Hashtable Containtable
|
|
{
|
|
get { return containtable; }
|
|
set { containtable = value; }
|
|
}
|
|
|
|
private Hashtable equaltable = null; //<seq,equal>用于存放equal的判断条件
|
|
|
|
public Hashtable Equaltable
|
|
{
|
|
get { return equaltable; }
|
|
set { equaltable = value; }
|
|
}
|
|
|
|
private Hashtable truetable = null; //<seq,true>用于存放判断后成功走向
|
|
|
|
public Hashtable Truetable
|
|
{
|
|
get { return truetable; }
|
|
set { truetable = value; }
|
|
}
|
|
|
|
private Hashtable falsetable = null;//<seq,false>用于存放判断后失败走向
|
|
|
|
public Hashtable Falsetable
|
|
{
|
|
get { return falsetable; }
|
|
set { falsetable = value; }
|
|
}
|
|
|
|
private Hashtable typetable = null; //<seq,type>用于存放返回的type类型
|
|
|
|
public Hashtable Typetable
|
|
{
|
|
get { return typetable; }
|
|
set { typetable = value; }
|
|
}
|
|
|
|
|
|
public OriginTypeRule()
|
|
{
|
|
this.defaulttype = "";
|
|
this.sourcetable = new Hashtable();
|
|
this.starttable = new Hashtable();
|
|
this.endtable = new Hashtable();
|
|
this.containtable = new Hashtable();
|
|
this.equaltable = new Hashtable();
|
|
this.truetable = new Hashtable();
|
|
this.falsetable = new Hashtable();
|
|
this.typetable = new Hashtable();
|
|
}
|
|
|
|
|
|
}
|
|
}
|