79 lines
1.2 KiB
TypeScript
79 lines
1.2 KiB
TypeScript
|
||
module giant.chuanqi
|
||
{
|
||
/*-*begin $area1 !这里填写类上方的手写内容!*-*/
|
||
|
||
/*-*end $area1*-*/
|
||
/**
|
||
* 来自:D:\workspace\cqh5\cehua\trunk\数值\功能\GongNeng.xlsx
|
||
**/
|
||
export class GongNengCfg
|
||
{
|
||
|
||
public constructor() { }
|
||
|
||
|
||
/**
|
||
* 功能标识
|
||
*/
|
||
public id: number;
|
||
|
||
|
||
/**
|
||
* 是否关闭此功能(不开放)
|
||
*/
|
||
public close: number;
|
||
|
||
|
||
/**
|
||
* 帮助说明
|
||
*/
|
||
public des: string;
|
||
|
||
|
||
/**
|
||
* 执行类型
|
||
*/
|
||
public type: number;
|
||
|
||
|
||
/**
|
||
* 容器ID
|
||
*/
|
||
public containerID: number;
|
||
|
||
|
||
|
||
/////////////////////
|
||
|
||
/*-*begin $area2 !这里填写类里面的手写内容!*-*/
|
||
|
||
/*-*end $area2*-*/
|
||
|
||
public decode(data:any[]){
|
||
|
||
let i = 0;
|
||
|
||
|
||
this.id = data[i++];
|
||
this.close = data[i++];
|
||
this.des = data[i++];
|
||
this.type = data[i++];
|
||
this.containerID = data[i++];
|
||
|
||
/*-*begin $decode !这里填写方法中的手写内容!*-*/
|
||
|
||
/*-*end $decode*-*/
|
||
}
|
||
}
|
||
|
||
/*-*begin $area3 !这里填写类下发的手写内容!*-*/
|
||
|
||
/*-*end $area3*-*/
|
||
}
|
||
module giant {
|
||
export interface CfgName {
|
||
GongNeng: { [index: number]: chuanqi.GongNengCfg };
|
||
}
|
||
}
|