//用于同步修改回加载Dsl实例的工具方法
 public static void SetParam(Dsl.CallData callData, int index, string val)
 {
     Dsl.ValueData valData = callData.GetParam(index) as Dsl.ValueData;
     if (null != valData)
     {
         int idType = valData.GetIdType();
         valData.SetId(val);
         valData.SetType(idType);
     }
 }
 static public int SetType(IntPtr l)
 {
     try {
         Dsl.ValueData self = (Dsl.ValueData)checkSelf(l);
         System.Int32  a1;
         checkType(l, 2, out a1);
         self.SetType(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }