|
在data.ws中,选择要关联的参数为{20100823}
;WSRData 2 1
recv buf0 60
"\x02\x20\x27\xc1\x01\x00\x20\x10\x06"
"\b\b"
"\x39"
"20100823"
"\x31\x30\x30\x30\x30\x30\x31\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x30\x01"
"\x00\x00\x00\x18\xc0\x01\x00\x07\x00\x00\x00\x10\x31\x31\x31\x31\x31\x31\x31"
"\x31\x31\x31\x31\x31\x31\x31\x31\x31"
通过EBCDIC Translation转化后显示如下:
recv buf0 60
0 02 20 27 C1 01 00 20 10 06 08 08 39 32 30 31 30 . '... ....92010
16 30 38 32 33 31 30 30 30 30 30 31 30 30 30 30 30 0823100000100000
32 30 30 30 30 30 30 01 00 00 00 18 C0 01 00 07 00 000000..........
48 00 00 10 31 31 31 31 31 31 31 31 31 31 31 31 31 ...1111111111111
64 31 31 31 111
------------------------------------------------------------------------------------------
偏移量是多少呢?望高手解答
lrs_save_param("socket2", NULL, "param1", 偏移量, 8); |
|