Exemple #1
0
 public CT_Constraint()
 {
     this.refPtTypeField = new List<ST_ElementType>();
     this.ptTypeField = new List<ST_ElementType>();
     this.forField = ST_ConstraintRelationship.self;
     this.forNameField = "";
     this.ptTypeField = new List<ST_ElementType>(new ST_ElementType[] {
             ST_ElementType.all});
     this.refTypeField = ST_ConstraintType.none;
     this.refForField = ST_ConstraintRelationship.self;
     this.refForNameField = "";
     this.refPtTypeField = new List<ST_ElementType>(new ST_ElementType[] {
             ST_ElementType.all});
     this.opField = ST_BoolOperator.none;
     this.valField = 0D;
     this.factField = 1D;
 }
Exemple #2
0
 public CT_NumericRule()
 {
     this.ptTypeField = new List<ST_ElementType>();
     this.forField = ST_ConstraintRelationship.self;
     this.forNameField = "";
     this.ptTypeField = new List<ST_ElementType>(new ST_ElementType[] {
             ST_ElementType.all});
     this.valField = double.NaN;
     this.factField = double.NaN;
     this.maxField = double.NaN;
 }