public CustPropertyInfo(SystemDataType systemType, string propertyName) { Type type = null; switch (systemType) { case SystemDataType.String: type = typeof(String); break; case SystemDataType.Int: type = typeof(int); break; case SystemDataType.Double: type = typeof(Double); break; case SystemDataType.DateTime: type = typeof(DateTime); break; case SystemDataType.ListString: type = typeof(List <string>); break; default: break; } this.propertyType = type; this.propertyName = propertyName.ToUpper(); }
public SystemInputOutput(string name, SystemDataType type, InputOutput role) { this.name = name; this.dataType = type; this.inputOutput = role; }