VB定義的結構:
M_modemid As Long 'Modem模塊的ID號
m_recv_time As Long '接收到資料包的時間
m_data_buf(1451) As Byte '存盤接收到的資料
m_data_len As Integer '接收到的資料包長度
m_data_type As Byte '接收到的資料包型別,0x01:用戶資料包 0x02:對控制命令幀的回應
改為如下PB讀出的資料不對
long m_modemid
long m_recv_time
byte m_data_buf[1451]
long m_data_len
byte m_data_type
好象是型別轉換的問題,不知怎么改請指教!
uj5u.com熱心網友回復:
byte m_data_buf[1451]-->character m_data_buf[1451]
uj5u.com熱心網友回復:
正好需要這個東東轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/69735.html
標籤:腳本語言
