2020-10-22 11:11:55 +08:00

79 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 };
}
}