11/28
This commit is contained in:
		
							parent
							
								
									80bbc13c78
								
							
						
					
					
						commit
						2b6f31fb6e
					
				| @ -6,23 +6,6 @@ | ||||
| BCIManager::BCIManager(QObject *parent) | ||||
|     : QObject{parent} | ||||
| { | ||||
|     heartTimer = new QTimer(); | ||||
|     heartTimer->setInterval(1000); | ||||
|     heartTimer->start(); | ||||
|     trainTimer = new QTimer(); | ||||
|     connect(heartTimer, SIGNAL(timeout()), this, SLOT(slotHeartTimer())); | ||||
|     connect(trainTimer, SIGNAL(timeout()), this, SLOT(slotTrainTimer())); | ||||
| 
 | ||||
|     m_st_bicycleParam.trainMode = 0; //被动
 | ||||
|     m_st_bicycleParam.spasmSwitch = 1; //开启
 | ||||
|     m_st_bicycleParam.spasmLevel = 1; //默认一级
 | ||||
|     m_st_bicycleParam.configPower = 0; //默认低
 | ||||
|     m_st_bicycleParam.switchDirectonTime = 10; //换向时间默认10
 | ||||
|     m_st_bicycleParam.phaseValue = 0; //协同相位值
 | ||||
|     m_st_bicycleParam.direction = 1; //方向正向
 | ||||
|     m_st_bicycleParam.speed = 10; //速度 10
 | ||||
|     m_st_bicycleParam.resistance = 10; //阻力 Nm  0~20挡
 | ||||
|     m_st_bicycleParam.spasmType = 0; //默认逆向
 | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user