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

This commit is contained in:
2017-03-02 12:19:48 +00:00
parent 1dc6f27c9e
commit d0842d29f6
5 changed files with 75 additions and 9 deletions

View File

@@ -63,13 +63,9 @@ int main(int argc, char *argv[]) {
c.start();
piMSleep(3000);*/
PIStringList sl;
sl << "one" << "two" << "three";
PIVariantTypes::Enum e;
e << sl;
e.selectValue(1);
PIVariant v = e;
piCout << v.value<PIVariantTypes::Enum>();
PISystemTime st = PISystemTime::current();
piCout << PIDateTime::current();
piCout << PIDateTime::fromSystemTime(st);
return 0;
}