forked from MapGIS/WebClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCAttDataRow.js
More file actions
39 lines (36 loc) · 937 Bytes
/
CAttDataRow.js
File metadata and controls
39 lines (36 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import {
Zondy
} from './Base';
import {
extend
} from "./Util";
/**
* 属性字段行
* @class Zondy.Object.CAttDataRow
* @classdesc 属性字段行
* @param {Array} values 属性字段名数组 Array,string in an Array
* @param {Number} [fid = 0] id
* @param {Object} option 属性键值对,拓展属性
*/
var CAttDataRow = function (values, fid, option) {
var options = (option !== undefined) ? option : {};
extend(this, options);
/**
* @private
* @member Zondy.Object.CAttDataRow.prototype.FID
* @type {Number}
* @description id
*/
this.FID = (fid !== undefined) ? fid : 0;
/**
* @private
* @member Zondy.Object.CAttDataRow.prototype.Values
* @type {Array}
* @description 属性字段名数组 Array<String>
*/
this.Values = (values !== undefined) ? values : null;
};
export {
CAttDataRow
};
Zondy.Object.CAttDataRow = CAttDataRow;