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