function AttachCA(){
//	var isvalid=true;
//	var path,name,type,size,desc;
	this.sn="";
	this.name=""
	this.unit="";
	this.setSn   = AttachCA_setSn;
	this.getSn   = AttachCA_getSn;
	

	this.setName = AttachCA_setName;
	this.getName = AttachCA_getName;
	
	
	this.setUnit = AttachCA_setUnit;
	this.getUnit = AttachCA_getUnit;
	
	this.setValue = AttachCA_setValue;
	this.getValue = AttachCA_getValue;
}
function AttachCA_setSn(value)
{
	this.sn=value;
}
function AttachCA_getSn(value)
{
	return this.sn;
}

function AttachCA_setName(value)
{
	this.name=value;
}
function AttachCA_getName()
{
	return this.name;
}

function AttachCA_setUnit(value)
{
	this.unit=value;
}
function AttachCA_getUnit()
{
	return this.unit;
}

function AttachCA_setValue(value)
{	
	var n;
	var a = value.split("::");
	this.sn   = a[0];
	this.name = a[1];
	this.unit = a[2];
}
function AttachCA_getValue()
{
	return this.sn+"::"+this.name;	
}