public DDTRelation(DDT_Rel_Type type, int objfrom, int f, int objto, int t, string ftext, string mtext, string ttext) : base() { this.type = type; this.from = new DDTConnector(objfrom, f); this.to = new DDTConnector(objto, t); this.text = new DDTRelationTexts(ftext, mtext, ttext); }
public DDTRelation(DDT_Rel_Type type, DDTConnector from, DDTConnector to, DDTRelationTexts text) : base() { this.type = type; this.from = from; this.to = to; if(text!=null) this.text = text; }