修改交易订单编号数据类型和通讯条件时间间隔判断
diff --git a/supwisdom/sp_config.h b/supwisdom/sp_config.h
index 81f4140..b57a05b 100644
--- a/supwisdom/sp_config.h
+++ b/supwisdom/sp_config.h
@@ -101,14 +101,14 @@
uint8 devphyid[4]; //É豸±àºÅ
uint8 transdate[3]; //YYDDMM¸ñʽÈÕÆÚ
uint8 transtime[3];
- uint8 billno[10]; //½»Ò×¶©µ¥±àºÅ
+ uint32 cobillno; //½»Ò×¶©µ¥±àºÅ
uint8 cardphyid[4]; //¿¨ÎïÀíid
uint8 transway; //½»Ò×·½Ê½£¬0-³õʼ£¬1-Ë¢¿¨£¬2-ɨÂë
uint8 amount; //ʵ¼ÊÖ§¸¶½ð¶î
uint8 paidAmount; //ÒÑÖ§¸¶½ð¶î£¬µ±ÊÇÏȿ۷ÑģʽÏ£¬¼Ç¼ÒÑÖ§¸¶µÄ½ð¶î
uint8 flowsensors; //ʵ¼ÊʹÓüÆÁ¿£¨µ¥Î»£º°ÙºÁÉý£©
uint8 transtatus; //Á÷ˮ״̬£¬0-³õʼ£¬1-³É¹¦£¬2-ʧ°Ü
- uint8 reverse[1]; //ռλ·û
+ uint8 reverse[7]; //ռλ·û
uint8 crc[2]; //len=32
} sp_transdtl_t;
@@ -201,7 +201,7 @@
uint8 link_stat; //0--Á´Â·¹¤×÷ÖУ¬1---Á´Â·¿ÉÓÃ
uint8 load_para_status; //0--Õý³££¬!0--´íÎó
uint8 deviceno;
- uint8 local_deviceno;
+ uint8 local_deviceno;
uint8 devphyid[4];
sp_cardstate_t cardState;
@@ -233,7 +233,7 @@
uint8 expiredate[4];
uint8 waterlimit; //µ¥´Î³öË®ÉÏÏÞ£¨100ml£©
- uint8 billno[10]; //½»Ò×¶©µ¥±àºÅ,BCDÂë
+ uint32 cobillno; //½»Ò×¶©µ¥±àºÅ,BCDÂë
sp_qrcode_t qrcode; //¶þάÂë
sp_feepara_t feepara;
} sp_card_t;