Browse Subversion Repository
Contents of /runCtrl/RunIdHandler.cpp
Parent Directory
| Revision Log
Revision 279 -
( show annotations)
( download)
( as text)
Wed Mar 12 05:28:19 2008 UTC
(16 years, 1 month ago)
by satofumi
File MIME type: text/x-c++src
File size: 472 byte(s)
adjust tab index
| 1 |
/*! |
| 2 |
\file |
| 3 |
\brief 走行制御の処理クラス |
| 4 |
|
| 5 |
\author Satofumi KAMIMURA |
| 6 |
|
| 7 |
$Id$ |
| 8 |
*/ |
| 9 |
|
| 10 |
#include "RunIdHandler.h" |
| 11 |
#include "RunCtrl.h" |
| 12 |
|
| 13 |
using namespace beego; |
| 14 |
|
| 15 |
|
| 16 |
RunIdHandler::RunIdHandler(void) { |
| 17 |
} |
| 18 |
|
| 19 |
|
| 20 |
RunIdHandler::~RunIdHandler(void) { |
| 21 |
} |
| 22 |
|
| 23 |
|
| 24 |
bool RunIdHandler::checkProductId(const char* device, |
| 25 |
const char* productId) const { |
| 26 |
|
| 27 |
// RunCtrl が複数接続されないと仮定して、接続できればよいことにする |
| 28 |
RunCtrl run; |
| 29 |
return run.connect(device); |
| 30 |
} |
|