Première version fonctionnelle. --- non testée ---

This commit is contained in:
zonetest
2017-07-11 14:01:28 -04:00
parent d08fe76884
commit 630aab922a
11 changed files with 134 additions and 52 deletions
+3 -3
View File
@@ -44,8 +44,8 @@
CZTSimulator::CZTSimulator(CSimulatorIOManager *IOMgrPtr)
{
static QGraphicsTextItem *Label;
Label = new QGraphicsTextItem("Simulateur",this);
//static QGraphicsTextItem *Label;
// Label = new QGraphicsTextItem("Simulateur",this);
mIOMgrPtr = IOMgrPtr;
mStationPtr = 0;
mUSBDriveInterfacePtr = 0;
@@ -953,7 +953,7 @@ void CZTSimulator::LazerProbesSimTimerExpired()
qreal sine = qSin(++inc/10);
sine += 1;
sine /= 2;
int Calib = 500000;//CZTConfigMgr::instance()->GetLaserSensorCalib();
// int Calib = 500000;//CZTConfigMgr::instance()->GetLaserSensorCalib();
//int value = (int)(Calib*sine);
//mPGEValue = mPGIValue = value;