
// Pord object
function Channel(channelId) {
	
	this.id = channelId;
	this.cpId = '';//所属CPID
	this.channelName = "";//通道名
	//this.aNodes = [];
	this.documentRoot = "";//文件根目录
	this.flowchart = null;//流程图对像
	this.tips = null;//提示语
	this.tipsProdPrice = '';//提示语中的产品支费
	this.officialWebsiteUrl = "";//官网地址
	this.products = null;//产品
	this.config = null; //存放通道基本配置，从JS获取
	
	
};
Channel.prototype.setId = function(id){
	this.id = id;
};
Channel.prototype.setCpId = function(cpId){
	this.cpId = cpId;
};
Channel.prototype.setChannelName = function(channelName){
	this.channelName = channelName;
};


Channel.prototype.setProducts = function(products){
	this.products = products;
};

//文件根目录
Channel.prototype.setDocumentRoot = function(documentRoot){
	this.documentRoot = documentRoot;
	
};


Channel.prototype.setTips = function(tips){
	
	this.tips = tips;
	
};
Channel.prototype.setOfficialWebsiteUrl = function(officialWebsiteUrl){
	
	this.officialWebsiteUrl = officialWebsiteUrl;
	
};
