commit request

git-svn-id: svn://db.shs.com.ru/pip@537 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2017-08-30 09:52:50 +00:00
parent 5a6ae6855e
commit 9c68588447
5 changed files with 36 additions and 36 deletions

View File

@@ -229,8 +229,8 @@ bool PIConnection::configure(PIConfig & conf, const PIString & name_) {
pe->setPayloadSize(e->getValue("payloadSize", pe->payloadSize()));
pe->setPacketSize(e->getValue("packetSize", pe->packetSize()));
pe->setTimeout(e->getValue("timeout", pe->timeout()));
pe->setHeader(PIByteArray::fromString(e->getValue("header", "").value()));
pe->setFooter(PIByteArray::fromString(e->getValue("footer", "").value()));
pe->setHeader(PIByteArray::fromUserInput(e->getValue("header", "").value()));
pe->setFooter(PIByteArray::fromUserInput(e->getValue("footer", "").value()));
}
}
setDebug(pdebug);
@@ -251,7 +251,7 @@ bool PIConnection::configure(PIConfig & conf, const PIString & name_) {
float freq = e->getValue("frequency");
piForeachC (PIString & d, devs)
addSender(e->name(), dev_aliases.value(d, d), freq);
PIByteArray fd(PIByteArray::fromString(e->getValue("fixedData").value()));
PIByteArray fd(PIByteArray::fromUserInput(e->getValue("fixedData").value()));
setSenderFixedData(e->name(), fd);
}
return true;