|
|
@@ -1126,6 +1126,7 @@ static void HMI_Decode(void)
|
|
|
else {
|
|
|
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
//1.0
|
|
|
else if (strstr(rx_buffer,"SwversionV1")!=NULL)
|
|
|
@@ -1142,6 +1143,7 @@ static void HMI_Decode(void)
|
|
|
else {
|
|
|
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
//中端款
|
|
|
else if (strstr(rx_buffer,"SwversionV43")!=NULL) {
|
|
|
@@ -1158,6 +1160,7 @@ static void HMI_Decode(void)
|
|
|
else {
|
|
|
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
//低端款
|
|
|
else if (strstr(rx_buffer,"SwversionV42")!=NULL) {
|
|
|
@@ -1174,6 +1177,7 @@ static void HMI_Decode(void)
|
|
|
else {
|
|
|
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
//4.0
|
|
|
else if (strstr(rx_buffer,"SwversionV41")!=NULL) {
|
|
|
@@ -1190,6 +1194,7 @@ static void HMI_Decode(void)
|
|
|
else {
|
|
|
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
//水稻
|
|
|
else if (strstr(rx_buffer,"SwversionV4")!=NULL) {
|
|
|
@@ -1205,6 +1210,7 @@ static void HMI_Decode(void)
|
|
|
else {
|
|
|
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
|
|
|
else if (strstr(rx_buffer,"putTest.switchFAN_PU=1")!=NULL) {
|
|
|
@@ -1804,13 +1810,14 @@ void Check_ParamConfig(void)
|
|
|
{
|
|
|
rt_sprintf(device_status.driver, "%s",VERSION_GK);
|
|
|
}
|
|
|
- else if (device_status.version_type==4)
|
|
|
+ else if (device_status.version_type==4||device_status.version_type==42||device_status.version_type==43)
|
|
|
{
|
|
|
rt_sprintf(device_status.driver, "%s",VERSION_HK_2000W);
|
|
|
}
|
|
|
else if (device_status.version_type==41) {
|
|
|
rt_sprintf(device_status.driver, "%s",VERSION_HK);
|
|
|
}
|
|
|
+
|
|
|
/*定制三色光源*/
|
|
|
#if LAMP_EN == 1
|
|
|
if(device_status.sunBar%3!=0)
|