
function TocBase(idTocIn,idFormIn,hideLayers){this.idForm=idFormIn;this.idToc=idTocIn;this.hideLayers=hideLayers;TocBase.prototype.getIdForm=function(){return this.idForm;}
TocBase.prototype.getIdToc=function(){return this.idToc;}
TocBase.prototype.getFullIdToc=function(){return'tocTree_'+this.idToc;}
TocBase.prototype.rebind=function(){gisJQuery.gisTocUtil.aggiornaVisibilitaToc(this.idToc,this.idForm,this.hideLayers);gisJQuery.gisTocUtil.gestCheckArgs(this.idToc,this.idForm);gisJQuery.gisTocUtil.gestCheckLayers(this.idToc,this.idForm);gisJQuery.gisTocUtil.gestImgLayer(this.idToc,this.idForm);}
TocBase.prototype.updatetocStatus=function(idServizio,stato){gisJQuery.gisTocUtil.setServizioStatus(this.idToc,this.idForm,idServizio,stato);}
TocBase.prototype.setLoading=function(){gisJQuery.gisTocUtil.setLoading(this.idToc,this.idForm);}
TocBase.prototype.hideLoading=function(){gisJQuery.gisTocUtil.hideLoading(this.idToc,this.idForm);}}