git-svn-id: svn://db.shs.com.ru/pip@617 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2018-05-15 12:22:47 +00:00
parent 24650d00b0
commit ee75b26a4b

View File

@@ -120,7 +120,7 @@ int PICAN::CANID() const {
PIString PICAN::constructFullPathDevice() const {
PIString ret;
ret << path() << ":" << CANID();
ret << path() << ":" << PIString::fromNumber(CANID(),16);
return ret;
}
@@ -131,7 +131,7 @@ void PICAN::configureFromFullPathDevice(const PIString & full_path) {
PIString p(pl[i]);
switch (i) {
case 0: setPath(p); break;
case 1: setCANID(p.toInt()); break;
case 1: setCANID(p.toInt(16)); break;
default: break;
}
}