TINF20C_ModellingWizard_Dev.../SOURCE/Plugin/ClassOfListsFromReferencefile.cs

64 lines
2.5 KiB
C#
Raw Normal View History

2022-04-07 06:37:54 +00:00
using Aml.Engine.CAEX;
namespace Aml.Editor.Plugin
{
public class ClassOfListsFromReferencefile
{
public string Name { get; set; }
public string Value { get; set; }
public string Default { get; set; }
public string Unit { get; set; }
public string Semantic { get; set; }
public string Reference { get; set; }
public string Description { get; set; }
public string CopyRight { get; set; }
public string AttributePath { get; set; }
public string RefBaseClassPath { get; set; }
2022-04-07 06:37:54 +00:00
public string ID { get; set; }
public string ReferencedClassName { get; set; }
public CAEXSequence<RefSemanticType> RefSemanticList { get; set; }
public string SupportesRoleClassType { get; set; }
public string DataType { get; set; }
//public List<ClassOfListsFromReferencefile> listofparameters { get; set; }
public ClassOfListsFromReferencefile()
{
2022-04-07 06:37:54 +00:00
// RefSemanticList = new List<CAEXSequence<RefSemanticType>>();
}
public ClassOfListsFromReferencefile(string name, string value,
string _default, string unit,
2022-04-07 06:37:54 +00:00
string reference, string description,
string copyRight, string semantic, string
attributePath, string refBaseClassPath,
string id, string referencedClassName, CAEXSequence<RefSemanticType> refSemanticList, string supportesRoleClassType, string dataType)
: this()
{
this.Name = name;
this.Value = value;
this.Default = _default;
this.Unit = unit;
this.Reference = reference;
this.Description = description;
this.CopyRight = copyRight;
this.Semantic = semantic;
this.AttributePath = attributePath;
this.RefBaseClassPath = refBaseClassPath;
this.ID = id;
this.ReferencedClassName = referencedClassName;
this.RefSemanticList = refSemanticList;
this.SupportesRoleClassType = supportesRoleClassType;
this.DataType = dataType;
}
public override string ToString()
{
2022-04-07 06:37:54 +00:00
return "ClassOfListsFromReferencefile(" + Name + "=" + Value + "=" + Default + "=" + Unit + "=" + Reference + "="
+ Description + "=" + CopyRight + "=" + Semantic + "=" + AttributePath + "=" + RefBaseClassPath + "=" + ID
+ "=" + ReferencedClassName + "=" + RefSemanticList + "=" + SupportesRoleClassType + "=" + DataType + ")";
}
}
}