|
|
@@ -3526,7 +3526,7 @@ bool selectRunParId(WORD sw, WORD parId, BYTE *pbuf)
|
|
|
if(parId==0x5005)
|
|
|
#endif
|
|
|
return false;
|
|
|
-#elif defined GD_AREA_MEIZHOU_FTU || defined GD_AREA_MEIZHOU_2021
|
|
|
+#elif defined GD_AREA_MEIZHOU_FTU
|
|
|
if(parId==0x5001 || parId==0x5024 || parId==0x505f || parId==0x5060
|
|
|
|| parId==0x5032 || parId==0x5033 || parId==0x5034 || parId==0x5035 || parId==0x5036
|
|
|
|| parId==0x5037 || parId==0x5038 || parId==0x5039 || parId==0x503a || parId==0x503b
|
|
|
@@ -3697,7 +3697,7 @@ bool wirteRunParId(WORD sw, WORD parId, BYTE *pbuf,u8 ti)
|
|
|
if(parId==0x5005)
|
|
|
#endif
|
|
|
return false;
|
|
|
-#elif defined GD_AREA_MEIZHOU_FTU || defined GD_AREA_MEIZHOU_2021
|
|
|
+#elif defined GD_AREA_MEIZHOU_FTU
|
|
|
if(parId==0x5001 || parId==0x5024 || parId==0x505f || parId==0x5060
|
|
|
|| parId==0x5032 || parId==0x5033 || parId==0x5034 || parId==0x5035 || parId==0x5036
|
|
|
|| parId==0x5037 || parId==0x5038 || parId==0x5039 || parId==0x503a || parId==0x503b
|
|
|
@@ -3782,7 +3782,7 @@ bool readRunParId(WORD sw, WORD parId, BYTE *pbuf)
|
|
|
{
|
|
|
int parTable=0;
|
|
|
SET_VALUE *parBuf;
|
|
|
-#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU || defined GD_AREA_MEIZHOU_2021
|
|
|
+#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU
|
|
|
SET_VALUE *pparaBuf;
|
|
|
#endif
|
|
|
#ifdef FUNC_YT_HARD_YB
|
|
|
@@ -3801,7 +3801,7 @@ bool readRunParId(WORD sw, WORD parId, BYTE *pbuf)
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
-#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU || defined GD_AREA_MEIZHOU_2021
|
|
|
+#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU
|
|
|
pparaBuf = rt_malloc(EQUIP_PARA_NUMBER*4);
|
|
|
if(!pparaBuf)
|
|
|
{
|
|
|
@@ -3980,7 +3980,7 @@ bool readRunParId(WORD sw, WORD parId, BYTE *pbuf)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#elif defined GD_AREA_MEIZHOU_FTU || defined GD_AREA_MEIZHOU_2021
|
|
|
+#elif defined GD_AREA_MEIZHOU_FTU
|
|
|
if(parId==0x5001)
|
|
|
{
|
|
|
float2IECbuf(pbuf,(float)BH_ALL_EN(0));
|
|
|
@@ -4107,7 +4107,7 @@ bool readRunParId(WORD sw, WORD parId, BYTE *pbuf)
|
|
|
GetDefSet((float*)parBuf);
|
|
|
}
|
|
|
|
|
|
-#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU || defined GD_AREA_MEIZHOU_2021
|
|
|
+#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU
|
|
|
if(!ReadPara((void*)pparaBuf,EEP_EQUIP_PARA_ADDR,EQUIP_PARA_NUMBER,&tEquipParaTable[0]))// śÁ˛ÎĘý
|
|
|
{
|
|
|
GetDefPara((void*)pparaBuf,EQUIP_PARA_NUMBER,&tEquipParaTable[0]);
|
|
|
@@ -4149,7 +4149,7 @@ bool readRunParId(WORD sw, WORD parId, BYTE *pbuf)
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
-#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU || defined GD_AREA_MEIZHOU_2021
|
|
|
+#if defined GD_AREA_ECZD_MAOMING || defined GD_AREA_ZHONGSHAN || defined GD_AREA_ZHONGSHAN_2020 || defined GD_AREA_ZHONGSHAN_2020_ZC || defined GD_AREA_MEIZHOU_FTU
|
|
|
parTable=getSetTableOffset(&tEquipParaTable[0],EQUIP_PARA_NUMBER,parId,SETGROUP_TYPE_PARA, false);
|
|
|
if(parTable != -1)
|
|
|
{
|