#include "DeviceConfig.hh"
#include "Factory.hh"
-#include "W1Store.hh"
+#include "Store.hh"
#include "W1Device.hh"
-using namespace w1;
using namespace std;
+using namespace w1;
+using namespace plp;
W1Device::W1Device(int family_code_param,
string device_id_param,
int dec_precision;
dec_precision = get_data_decimal_precision();
- W1Store::save(id, &memory_cache, dec_precision);
+ Store::save(id, &memory_cache, dec_precision);
for(iter = memory_cache.begin(); iter != memory_cache.end(); iter++) {
data = (Data *)*iter;
delete(data);