... change attributes from inside the server

If the value of a Tango attribute is changed inside of any function of the class and not using the write function asotiated to this attribute, the new set value is not send to the Tango database, and it is lost once the program is stopped. In order to avoid that, the value of the attribute has to be changed using the funcion write_attribute from DeviceProxy. Example:

    Tango::DeviceProxy *device;
    string name=this->device_name;
    device = new Tango::DeviceProxy(name);

    Tango::DeviceAttribute da( "Num1",attr_Num1_write ); 
    device->write_attribute(da);