commit request
git-svn-id: svn://db.shs.com.ru/pip@537 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user