code: function createObject(proto, ObjName) {
      if (typeof proto != "object" || typeof ObjName != "string") {
          logger.error("proto is not object OR ObjName is not string");
          return {};
      }
  
      var Class = proto.build(ObjName);
      var obj = new Class();
  
      for (var index in obj) {
          if (obj.hasOwnProperty(index) && !obj[index]) {
              obj[index] = {};
          }
      }
  
      return obj;
  }
docs: 根据对象名生成对象框架
  
  @param proto
  @param ObjName
  @returns {*}