예제 #1
0
 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;
 }
예제 #2
0
 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;
 }