类名 common/service/igs/ThemeServer/CTheme.js
import { Zondy } from '../../../base'
import { defaultValue, extend } from '../../../util'
/**
 * 专题图对象(基类)
 * @class module:专题图服务.CTheme
 * @classdesc 专题图对象(基类)
 * @description Zondy.Object.Theme.CTheme
 * @param {Object} options 属性键值对
 * @param {String} [options.Name = null] 专题图名称
 * @param {Boolean} [options.IsBaseTheme = true] 是否为单值专题图
 * @param {Boolean} [options.Visible = true] 专题图是否可见
 */
class CTheme {
  constructor(options) {
    options = defaultValue(options, {})
    extend(this, options)

    /**
     * @private
     * @member Zondy.Object.Theme.CTheme.prototype.Name
     * @type {String}
     * @description 专题图名称
     * @default null
     */
    this.Name = options && options.Name ? options.Name : null

    /**
     * @private
     * @member Zondy.Object.Theme.CTheme.prototype.IsBaseTheme
     * @type {Boolean}
     * @description 是否为单值专题图
     * @default true
     */
    this.IsBaseTheme =
      options && options.IsBaseTheme ? options.IsBaseTheme : true

    /**
     * @private
     * @member Zondy.Object.Theme.CTheme.prototype.Visible
     * @type {Boolean}
     * @description 专题图是否可见
     * @default true
     */
    this.Visible = options && options.Visible ? options.Visible : true
  }
}
export default CTheme
Zondy.Object.Theme.CTheme = CTheme
构造函数
成员变量
方法
事件