actual version libs withiout pip

git-svn-id: svn://db.shs.com.ru/libs@2 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
2015-03-24 08:14:45 +00:00
parent ba8bc27298
commit b3e47dfc99
1566 changed files with 105 additions and 193405 deletions

View File

@@ -219,7 +219,7 @@ bool BrickManager::loadScheme(const PIString & file) {
cname = sr.getValue(prefix + "codeName", "");
b = BrickComposite::findBaseBrick(cname);
if (b == 0) {
cout << "Error while loading scheme: can`t find brick \"" << cname << "\"" << endl;
piCout << "Error while loading scheme: can`t find brick \"" << cname << "\"";
continue;
} else
b = b->copy();
@@ -232,7 +232,7 @@ bool BrickManager::loadScheme(const PIString & file) {
bf = findBrick(sr.getValue(prefix + "from Name", "").value().stdString());
bt = findBrick(sr.getValue(prefix + "to Name", "").value().stdString());
if (bf == 0 || bt == 0) {
cout << "Error while loading scheme: can`t create connection " << i << endl;
piCout << "Error while loading scheme: can`t create connection " << i;
continue;
}
BrickBase::connect(bf, sr.getValue(prefix + "from Port", 0), bt, sr.getValue(prefix + "to Port", 0));