public PTProperty(PTAccessLimit accessLimit, PTCompileType compileType, PTTypeDefine type, string name, string getReturnCode, string comment = null) { AccessLimit = accessLimit; Type = PTTypeUtil.GetCodeType(type); CompileType = compileType; Name = name; GetReturnCode = getReturnCode; Comment = comment; }
public PTVariable(PTAccessLimit accessLimit, PTCompileType compileType, PTTypeDefine type, string name, string value, string comment = null) { AccessLimit = accessLimit; CompileType = compileType; Name = name; Value = value; Type = PTTypeUtil.GetCodeType(type); CompileType = compileType; Comment = comment; }