Changeset 15087 for trunk/FACT++
- Timestamp:
- 03/18/13 14:36:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineDimControl.cc
r15041 r15087 546 546 // fVerbosity = 90; 547 547 548 const int cnt = conf.Get<bool>("stop")+conf.Has("start")+conf.Has("batch"); 549 550 if (fIsServer) 551 { 552 if (cnt>0) 553 { 554 Error("--start, --batch, --stop are mutually exclusive to --server."); 555 return 3; 556 } 548 if (conf.GetName()=="dimserver") 557 549 return -1; 558 }559 560 if (cnt>1)561 {562 Error("--start, --batch and --stop are all mutually exclusive.");563 return 4;564 }565 550 566 551 if (conf.Get<bool>("stop")) … … 568 553 569 554 if (conf.Has("start")) 570 return !Dim::SendCommand("DIM_CONTROL/START", conf.Get<string>("start")+" user='"+fUser+"'" );555 return !Dim::SendCommand("DIM_CONTROL/START", conf.Get<string>("start")+" user='"+fUser+"'"+fArgumentsJS); 571 556 572 557 if (conf.Has("batch"))
Note:
See TracChangeset
for help on using the changeset viewer.