|
用到的协议时http+flex,下面代码中,标红色的“01”为车的部件编号,E5C271E9B93B44DFA4311E17AA99B70B为车的编号,.jpg后缀的图片是部位为01的六张图片,并且图片文件是存放在一个单独的文件夹中,每辆车有多个部位,每个部位有固定的多张图片,请问如何在迭代过程中实现参数化。或用其他方法解决?初学flex,还望大虾们指点,不胜感激!谢谢各位了
flex_amf_call("AMF3_call_18",
"Gateway=http://172.16.110.35:9380/tfjz/messagebroker/amf",
"Snapshot=t124.inf",
MESSAGE,
"Method=null",
"TargetObjectId=/8",
BEGIN_ARGUMENTS,
"<AMF3><object-externalizable-custom>"
"<flex.messaging.messages.RemotingMessage>\n <clientId class=\"string"
"\">C242D55C-8E4B-8B4F-6397-1FC93B252AF7</clientId>\n <destination"
">tfdsService</destination>\n <messageId"
">B273BE1E-CE0E-FD9B-BADC-C99F519352E1</messageId>\n <timestamp>0</"
"timestamp>\n <timeToLive>0</timeToLive>\n <headers>\n <entry>\n "
" <string>DSId</string>\n <string"
">C242D477-1019-BFD0-EF45-3435455A8A0E</string>\n </entry>\n </"
"headers>\n <operation>getVehicleFaultInfoWorker</operation>\n "
"<parameters>\n <string>M80F06F01</string>\n <string"
">967139A880924842B7A43B48DC616CD3</string>\n <string"
">E5C271E9B93B44DFA4311E17AA99B70B</string>\n </parameters>\n</"
"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
"></AMF3>",
END_ARGUMENTS,
MESSAGE,
"Method=null",
"TargetObjectId=/9",
BEGIN_ARGUMENTS,
"<AMF3><object-externalizable-custom>"
"<flex.messaging.messages.RemotingMessage>\n <clientId class=\"string"
"\">C242D55C-8E4B-8B4F-6397-1FC93B252AF7</clientId>\n <destination"
">tfdsService</destination>\n <messageId"
">D4635C04-3926-4E6E-CD7E-C99F51A364EE</messageId>\n <timestamp>0</"
"timestamp>\n <timeToLive>0</timeToLive>\n <headers>\n <entry>\n "
" <string>DSId</string>\n <string"
">C242D477-1019-BFD0-EF45-3435455A8A0E</string>\n </entry>\n </"
"headers>\n <operation>getMustMax</operation>\n <parameters>\n "
"<string>01</string>\n <string></string>\n <string"
">967139A880924842B7A43B48DC616CD3</string>\n <string"
">E5C271E9B93B44DFA4311E17AA99B70B</string>\n </parameters>\n</"
"flex.messaging.messages.RemotingMessage></object-externalizable-custom"
"></AMF3>",
END_ARGUMENTS,
MESSAGE,
"Method=null",
"TargetObjectId=/10",
BEGIN_ARGUMENTS,
"<AMF3><object-externalizable-custom>"
"<flex.messaging.messages.RemotingMessage>\n <clientId class=\"string"
"\">C242D55C-8E4B-8B4F-6397-1FC93B252AF7</clientId>\n <destination"
">tfdsService</destination>\n <messageId"
">49A1413D-AD19-6947-7468-C99F51A34B1F</messageId>\n <timestamp>0</"
"timestamp>\n <timeToLive>0</timeToLive>\n <headers>\n <entry>\n "
" <string>DSId</string>\n <string"
">C242D477-1019-BFD0-EF45-3435455A8A0E</string>\n </entry>\n </"
"headers>\n <operation>setImgViewLog</operation>\n <parameters>\n "
"<string>2c90eea336a3fcaa0136a42863cb000a</string>\n <string>检车员1"
"</string>\n <string>01</string>\n <string>0,1,2,3,4,5,</string>"
"\n <string>17/1_1_6.jpg,17/1_1_7.jpg,17/1_1_8.jpg,17/1_1_9.jpg,17/"
"1_1_10.jpg,17/1_1_11.jpg,</string>\n <string></string>\n <int>1<"
"/int>\n <string>967139A880924842B7A43B48DC616CD3</string>\n "
"<string>E5C271E9B93B44DFA4311E17AA99B70B</string>\n <string>1411929"
"</string>\n </parameters>\n</flex.messaging.messages.RemotingMessage>"
"</object-externalizable-custom></AMF3>",
END_ARGUMENTS,
LAST); |
|