【类 型】:style
【原 因】: 【过 程】: 【影 响】:
This commit is contained in:
parent
c7a8907105
commit
9173d36cf5
@ -18,10 +18,10 @@ static const char *MOUDLENAME = "COMMSER";
|
|||||||
// char *password = "63587839ab"; // wifi密码
|
// char *password = "63587839ab"; // wifi密码
|
||||||
// char* ssid = "szdot"; //wifi帐号
|
// char* ssid = "szdot"; //wifi帐号
|
||||||
// char* password = "63587839ab"; //wifi密码
|
// char* password = "63587839ab"; //wifi密码
|
||||||
// char *ssid = "flicube"; // wifi帐号
|
char *ssid = "flicube"; // wifi帐号
|
||||||
// char *password = "fxmf0622"; // wifi密码
|
char *password = "fxmf0622"; // wifi密码
|
||||||
char *ssid = "fxmf_sc01"; // 4g wifi帐号
|
// char *ssid = "fxmf_sc01"; // 4g wifi帐号
|
||||||
char *password = "12345678"; // 4g wifi密码
|
// char *password = "12345678"; // 4g wifi密码
|
||||||
char *mqttServer = "szdot.top"; // mqtt地址
|
char *mqttServer = "szdot.top"; // mqtt地址
|
||||||
int mqttPort = 1883; // mqtt端口
|
int mqttPort = 1883; // mqtt端口
|
||||||
char *mqttName = "admin"; // mqtt帐号
|
char *mqttName = "admin"; // mqtt帐号
|
||||||
|
@ -98,8 +98,6 @@ String Motocontrol::gethooktatus_str(bool chstr)
|
|||||||
return hookstatusstr;
|
return hookstatusstr;
|
||||||
else
|
else
|
||||||
return hookstatusstr_en;
|
return hookstatusstr_en;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Motocontrol::checkgoods() // 检测是否超重
|
void Motocontrol::checkgoods() // 检测是否超重
|
||||||
@ -199,7 +197,6 @@ int16_t Motocontrol::getlength() // 得到长度
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 重量传感器已经校准
|
// 重量传感器已经校准
|
||||||
void Motocontrol::weightalign(bool weightalign)
|
void Motocontrol::weightalign(bool weightalign)
|
||||||
{
|
{
|
||||||
@ -432,7 +429,8 @@ control_status_t Motocontrol::getcontrolstatus() // 得到控制信息
|
|||||||
|
|
||||||
void Motocontrol::moto_goodsdownresume()
|
void Motocontrol::moto_goodsdownresume()
|
||||||
{
|
{
|
||||||
if (!_controlstatus.is_autogoodsdown) return;
|
if (!_controlstatus.is_autogoodsdown)
|
||||||
|
return;
|
||||||
if (_hooksstatus == HS_Stop)
|
if (_hooksstatus == HS_Stop)
|
||||||
{
|
{
|
||||||
_runspeed = _goods_speed;
|
_runspeed = _goods_speed;
|
||||||
|
Loading…
Reference in New Issue
Block a user