阻抗弹窗
This commit is contained in:
@@ -767,7 +767,7 @@ void GameDisplayPage::slotSetBicycleParam(ST_BicycleParam st_setBicycleParam)
|
||||
void GameDisplayPage::getEmergecyState(ST_DeviceParam &st_deviceParam)
|
||||
{
|
||||
#if 1 //触发急停(必须放在痉挛前,原因暂时未找到)
|
||||
//qDebug() <<"急停状态:"<<st_deviceParam.emergencyState;
|
||||
qDebug() <<"急停状态:"<<st_deviceParam.emergencyState;
|
||||
|
||||
if( 1 == st_deviceParam.emergencyState)
|
||||
{
|
||||
|
||||
@@ -72,7 +72,7 @@ void BCIManager::initTrain()
|
||||
m_st_bicycleParam.switchDirectonTime = 0; //换向时间默认10
|
||||
m_st_bicycleParam.phaseValue = 0; //协同相位值
|
||||
m_st_bicycleParam.direction = 1; //方向正向
|
||||
m_st_bicycleParam.speed = 10; //速度 10
|
||||
m_st_bicycleParam.speed = 20; //速度 10
|
||||
m_st_bicycleParam.resistance = 0; //阻力 Nm 0~20挡
|
||||
m_st_bicycleParam.spasmType = 0; //默认逆向
|
||||
}
|
||||
@@ -142,7 +142,8 @@ void BCIManager::startTrain(int Part, int Time)
|
||||
{
|
||||
m_st_bicycleParam.trainMode = 4;
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
m_st_bicycleParam.trainMode = 0;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user