Просмотр исходного кода

Z991239-5484 #comment feat: 新增卡库js接口定义

Signed-Off-By: commit-hook
刘文涛80174520 1 год назад
Родитель
Сommit
4cf66a4d6f

+ 475 - 2
Module/mod_cardissuerstore/CardIssuerStore.xml

@@ -428,17 +428,490 @@
 				<param name="reserved3" type="array_string"/>
 				<param name="reserved4" type="array_string"/>				
 			</res>			
-		</twoway>																		
-		<twoway name="GetDevInfo" overlap="true" method_id="65535">
+		</twoway>
+		
+		<!--查询卡机设备状态接口 -->	
+		<twoway name="GetDevInfo" overlap="true" method_id="65535" jsflag="true">
 			<req>
 			</req>
 			<res>
 				<param name="type" type="string" />
 				<param name="model" type="string" />
 				<param name="version" type="string" />
+				<!--卡机状态 0设备未打开 1 正常运行 2卡箱未准备好需要维护 3卡机异常不可工作-->
 				<param name="state" type="int" />
 			</res>			
 		</twoway>							
+	
+		
+		<!--读卡接口 -->
+		<!--1、卡库打开失败, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W11-->
+		<!--2、读卡失败,卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、读卡失败,检测卡片类型时上电失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W0V-->
+		<!--4、读卡失败,读取IC数据失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W02-->
+		<twoway name="ReadJS" overlap="true" method_id="40" jsflag="true">
+			<req>
+				<!--Aid列表-->
+				<param name="aid" type="string"/>
+				<!--业务数据-->
+				<param name="businessData" type="string"/>
+				<param name="reserved1" type="int"/>
+				<param name="reserved2" type="string"/>
+			</req>
+			<res>
+				<!--读磁条结果 0失败 1成功-->
+				<param name="magStatus" type="int" />
+				<!--磁道1数据-->
+				<param name="track1" type="string"/>
+				<!--磁道2数据-->
+				<param name="track2" type="string"/>
+				<!--磁道3数据-->
+				<param name="track3" type="string"/>
+				<!--卡片位置 6 卡片在卡库、实时制卡机里面-->
+				<param name="cardPos" type="int" />
+				<!--磁道2解析出的卡号-->
+				<param name="t2Account" type="string" />
+				<!--磁道2解析出的地区-->
+				<param name="t2Region" type="string" />
+				<!--磁道2解析出的卡序号-->
+				<param name="t2CardSerial" type="string" />
+				<!--磁道2解析出的cvc-->
+				<param name="t2CVC" type="string" />
+				<!--磁道2解析出的失效日期-->
+				<param name="t2ExpireDate" type="string" />
+				<!--读IC结果 0失败 1成功-->
+				<param name="icState" type="int"/>
+				<!--读IC成功下接触方式 -1未知 0接触 1非接-->
+				<param name="icMode" type="int"/>
+				<!--IC得出的卡号-->
+				<param name="icCardNo" type="string"/>
+				<!--IC读取的数据-->
+				<param name="result" type="string"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			</res>
+		</twoway>
+		
+		<!--联机后处理接口-->
+		<!--1、卡库打开失败, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W11-->
+		<!--2、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<twoway name="PostOnlineJS" overlap="true" method_id="41" jsflag="true">
+			<req>
+				<!--联机后处理数据-->
+				<param name="data" type="string"/>
+			</req>
+			<res>
+				<!--处理结果-->
+				<param name="result" type="string"/>
+			</res>			
+		</twoway>
+		
+		<!--吐卡接口-->
+		<!--1、吐卡失败,硬件返回错误 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W08-->
+		<!--2、吐卡失败,超时未取卡 errorCode为Error_Unexpect(2147483646),rtaCode为22000214-->
+		<!--3、吐卡失败,卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<twoway name="EjectJS" overlap="true" method_id="42" jsflag="true">
+			<req>
+			</req>
+			<res>
+			</res>			
+		</twoway>
+		
+		<!--吞卡接口-->
+		<!--1、吞卡失败,硬件返回错误 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W07-->
+		<!--2、吞卡失败,卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<twoway name="CaptureJS" overlap="true" method_id="43" jsflag="true">
+			<req>
+				<!--吞卡原因码-->
+				<param name="captureCode" type="string"/>
+			</req>
+			<res>
+			</res>			
+		</twoway>
+		
+		<!--查询卡机是否有卡接口-->
+		<twoway name="QueryInternalHasCardJS" overlap="true" method_id="44" jsflag="true">
+			<req>
+			</req>
+			<res>
+				<!--卡机是否有卡 0无卡 1有卡 -1失败-->
+				<param name="position" type="int"/>
+				<param name="reserved1" type="int"/>
+				<param name="reserved2" type="string"/>
+			</res>			
+		</twoway>		
+		
+		<!--卡箱发卡接口(实时制卡机发卡)-->
+		<!--1、卡库打开失败, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W11-->
+		<!--2、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、发卡失败,卡箱1未检测到 errorCode为Error_DevMedia(2054),rtaCode为RTA2W0B-->
+		<!--4、发卡失败,卡箱2未检测到 errorCode为Error_DevMedia(2054),rtaCode为RTA2W0C-->
+		<!--5、发卡失败,卡箱3未检测到 errorCode为Error_DevMedia(2054),rtaCode为RTA2W0D-->
+		<!--6、发卡失败,卡箱1未检测到卡片 errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W0E-->
+		<!--7、发卡失败,卡箱2未检测到卡片 errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W0F-->
+		<!--8、发卡失败,卡箱3未检测到卡片 errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W0G-->
+		<!--9、发卡失败,从卡箱移动卡片到读卡器失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W06-->
+		<!--10、当前卡机正在执行的流程无法响应此请求,errorCode为Error_Busy(776),rtaCode为RTA2WD* 具体报错见后列表-->
+		<twoway name="IssueFromBoxJS" overlap="true" method_id="45" jsflag="true">
+			<req>
+				<!--卡箱号-->
+				<param name="hopper" type="int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>			
+			</req>
+			<res>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>					
+			</res>			
+		</twoway>
+		
+		<!--卡槽发卡接口(卡库发卡)-->
+		<!--卡片移回失败自动吞卡-->
+		<!--1、卡库打开失败, errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W11-->
+		<!--2、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、发卡失败,卡槽地址非法 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W8B-->
+		<!--4、发卡失败,卡槽内无卡 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W86-->
+		<!--5、发卡失败,卡槽移卡失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W04-->
+		<!--6、发卡失败,卡号不匹配,卡片移回卡槽 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WCQ-->
+		<!--7、发卡失败,卡号不匹配,吞卡 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WA4-->
+		<!--8、当前卡机正在执行的流程无法响应此请求,errorCode为Error_Busy(776),rtaCode为RTA2WD* 具体报错见后列表-->
+		<twoway name="IssueFromSlotJS" overlap="true" method_id="46" jsflag="true">
+			<req>
+				<!--卡槽号-->
+				<param name="slot" type="int"/>
+				<!--卡号-->
+				<param name="cardNo" type="string"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>			
+			</req>
+			<res>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>					
+			</res>			
+		</twoway>
+		
+		<!--物料设置接口-->
+		<!--1、设置失败,errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<twoway name="SetMaterialCountJS" overlap="true" method_id="47" jsflag="true">
+			<req>
+				<!--卡箱设置位  0不设置 1设置-->
+				<param name="SetHopper" type="array_int"/>
+				<!--吞卡设置位  0不设置 1设置-->
+				<param name="SetCaptured" type="int"/>
+				<!--吞卡数-->
+				<param name="captured" type="int"/>
+				<!--卡箱号-->
+				<param name="CardBoxNo" type="array_string"/>
+				<!--卡种编号-->
+				<param name="PsbCode" type="array_string"/>
+				<!--卡种名称-->
+				<param name="PsbName" type="array_string"/>
+				<!--维护者-->
+				<param name="Maintainer" type="array_string"/>
+				<!--维护时间-->
+				<param name="MaintainTime" type="array_string"/>
+				<!--卡数量初始值-->
+				<param name="CardInit" type="array_int"/>
+				<!--卡数量百分比-->
+				<param name="CardPercent" type="array_int"/>
+				<!--余量卡数量-->
+				<param name="remains" type="array_int"/>
+				<!--发卡数量-->
+				<param name="issued" type="array_int"/>
+				<!--错误次数-->
+				<param name="mixed" type="array_int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			</req>
+			<res>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>	
+			</res>			
+		</twoway>		
+		
+		<!--物料获取接口-->
+		<!--1、查询失败,errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<twoway name="GetMaterialCountJS" overlap="true" method_id="48" jsflag="true">
+			<req>
+				<param name="GetHopper" type="array_int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>		
+			</req>
+			<res>
+				<!--吞卡数-->
+				<param name="captured" type="int"/>
+				<!--卡箱启用位 0 不启用 1启用-->
+				<param name="hasHopper" type="array_int"/>
+				<!--卡箱号-->
+				<param name="CardBoxNo" type="array_string"/>
+				<!--卡种编号-->
+				<param name="PsbCode" type="array_string"/>
+				<!--卡种名称-->
+				<param name="PsbName" type="array_string"/>
+				<!--维护者-->
+				<param name="Maintainer" type="array_string"/>
+				<!--维护时间-->
+				<param name="MaintainTime" type="array_string"/>
+				<!--卡数量初始值-->
+				<param name="CardInit" type="array_int"/>
+				<!--卡数量百分比-->
+				<param name="CardPercent" type="array_int"/>
+				<!--余量卡数量-->
+				<param name="remains" type="array_int"/>
+				<!--发卡数量-->
+				<param name="issued" type="array_int"/>
+				<!--错误次数-->
+				<param name="mixed" type="array_int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			</res>			
+		</twoway>	
+		
+		<!--IC指令数据交互接口-->
+		<!--1、执行失败,errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--2、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WB7-->
+		<!--3、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WC7-->
+		<!--4、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WAB-->
+		<!--5、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WCG-->
+		<!--6、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W02-->
+		<!--7、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WC6-->
+		<!--8、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WC8-->
+		<!--9、执行失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WC9-->
+		<twoway name="SAMICCommandJS" overlap="true" method_id="49" jsflag="true">
+			<req>
+				<!--IC指令枚举:100、103等-->
+				<param name="cmdType" type="int"/>
+				<param name="param1" type="array_int"/>
+				<!--IC交互指令数据-->
+				<param name="param2" type="array_string"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>			
+			</req>
+			<res>
+				<!--IC返回数据长度-->
+				<param name="ret1" type="array_int"/>
+				<!--IC返回数据-->
+				<param name="ret2" type="array_string"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>					
+			</res>			
+		</twoway>	
+		
+		<!--写卡接口-->
+		<!--1、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--2、执行失败,errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、移卡失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W09-->
+		<!--4、写入失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WB3-->
+		<twoway name="WriteTrackJS" overlap="true" method_id="50" jsflag="true">
+			<req>
+				<param name="mode" type="int"/>
+				<param name="co" type="int"/>
+				<!--磁道1数据-->
+				<param name="track1" type="wstring"/>
+				<!--磁道2数据-->
+				<param name="track2" type="wstring"/>
+				<!--磁道3数据-->
+				<param name="track3" type="wstring"/>
+				<param name="reserved" type="wstring"/>
+			</req>
+			<res>
+				<!--结果 1成功 0不成功-->
+				<param name="result" type="int"/>
+				<param name="reserved1" type="int"/>
+				<param name="reserved2" type="string"/>
+			</res>
+		</twoway>	
+		
+		<!--卡面打印接口-->
+		<!--1、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--2、执行失败,errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、打印失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W25-->
+		<twoway name="PrintCardImmediatelyJS" overlap="true" method_id="51" jsflag="true">
+			<req>
+				<!--存储form文件绝对路径-->
+				<param name="formFile" type="string"/>
+				<!--存储打印内容参数-->
+				<param name="printData" type="string"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+
+			</req>
+			<res>
+				<!--结果 1成功 0不成功-->
+				<param name="ret" type="int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			
+			</res>			
+		</twoway>
+		
+		<!--跨机激活接口-->
+		<!--移回失败自动吞卡-->
+		<!--1、卡库打开失败,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W11-->
+		<!--2、卡库处于故障状态,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W23-->
+		<!--3、卡库正在发卡或加卡,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W24-->
+		<!--4、卡槽地址非法,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W8B-->
+		<!--5、卡槽无卡,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W86-->
+		<!--6、卡槽移卡失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W04-->
+		<!--7、读取卡片账户信息失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W05-->
+		<!--8、检测卡片类型时上电失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W0V-->
+		<!--9、读取IC数据失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W02-->
+		<!--10、当前卡机正在执行的流程无法响应此请求,errorCode为Error_Busy(776),rtaCode为RTA2WD* 具体报错见后列表-->
+		<twoway name="PreOnlineCrossJS" overlap="true" method_id="52" jsflag="true">
+			<req>
+				<!--业务数据-->
+				<param name="businessData" type="string"/>
+				<!--卡槽号-->
+				<param name="slot" type="int"/>
+				<!--卡号-->
+				<param name="account" type="string"/>
+				<param name="reserved1" type="string"/>
+				<param name="reserved2" type="string"/>
+			</req>
+			<res>
+				<!--IC数据 为空则表示失败,否则有值-->
+				<param name="result" type="string"/>
+				<!--找卡的位置 0,在指定位置找到卡片;1,slot超出本卡库范围;2,指定卡槽位为没有卡;3,指定卡槽位卡号与传入不匹配;4,读卡失败-->
+				<param name="findCard" type="int"/>
+				<!--卡片位置 0,卡片保留在卡机;1,卡片移回原卡槽;2,卡片移回原卡槽中失败,已吞卡;3,卡槽移回原卡槽失败,吞卡失败-->
+				<param name="cardPos" type="int"/>
+			</res>			
+		</twoway>
+	
+		<!--JS改造卡库维护接口-->
+		<!--区间盘库接口-->
+		<!--读卡失败自动吞卡,移回失败自动吞卡-->
+		<!--1、卡库打开失败,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W11-->
+		<!--2、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、盘库入参效验不通过 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WCM-->
+		<!--4、查询卡槽状态硬件报错 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WCN-->
+		<!--5、卡库盘库失败,卡槽移卡失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W16-->
+		<!--6、卡库盘库失败,读卡失败吞卡 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W17-->
+		<!--7、卡库盘库失败,卡移回卡槽失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W18-->
+		<!--8、卡库盘库失败  errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WCP-->
+		<!--9、当前卡机正在执行的流程无法响应此请求,errorCode为Error_Busy(776),rtaCode为RTA2WD* 具体报错见后列表-->
+		<twoway name="ReadBatchCardInfoInRangeJS" overlap="true" method_id="100" jsflag="true">
+			<req>
+				<!--盘库起始卡槽号-->
+				<param name="beginSlot" type="int"/>
+				<!--盘库结束卡槽号-->
+				<param name="endSlot" type="int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			</req>
+			<res>
+				<!--结果 0 成功 1卡库盘库失败,卡槽移卡失败 2卡库盘库失败,读卡失败,自动吞卡 3卡库盘库失败,卡移回卡槽失败,自动吞卡-->
+				<param name="status" type="int"/>	
+				<!--盘库后卡槽号集合-->
+				<param name="slotNum" type="array_int"/>
+				<!--盘库后卡号集合-->
+				<param name="cardNo" type="array_string"/>
+				<!--盘库后卡号序号集合-->
+				<param name="cardSerial" type="array_string"/>	
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			</res>			
+		</twoway>
+	
+		<!--获取卡库总容量和卡槽中是否有卡的情况接口-->
+		<!--1、卡库打开失败,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W11-->
+		<!--2、查询卡槽状态失败,errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W20-->
+		<twoway name="GetCardInStoreJS" overlap="true" method_id="101" jsflag="true">
+			<req>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			</req>
+			<res>
+				<!--卡槽总容量-->
+				<param name="slotSum" type="int"/>
+				<!--卡槽总有卡数量-->
+				<param name="slotHasCardCount" type="int"/>
+				<!--卡槽中是否有卡情况集合 0无卡 1有卡-->
+				<param name="hasCardSlotNum" type="array_int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>
+			</res>			
+		</twoway>
+	
+		<!--加卡箱加卡读卡接口-->
+		<!--读卡失败自动吞卡-->
+		<!--1、卡库打开失败,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W11-->
+		<!--2、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、卡箱无卡,请确认卡箱有无卡片或卡片是否放好 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W80-->
+		<!--4、卡库加卡,读卡失败吞卡 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2WA5-->
+		<!--5、当前卡机正在执行的流程无法响应此请求,errorCode为Error_Busy(776),rtaCode为RTA2WD* 具体报错见后列表-->
+		<twoway name="AddAndReadCardFromBoxJS" overlap="true" method_id="102" jsflag="true">
+			<req>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>			
+			</req>
+			<res>
+				<!--加卡的卡号-->
+				<param name="cardNo" type="string"/>
+				<!--磁道2数据-->
+				<param name="track2" type="string"/>
+				<!--磁道3数据-->
+				<param name="track3" type="string"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>					
+			</res>			
+		</twoway>
+		
+		<!--指定卡槽移卡读卡接口-->
+		<!--1、卡库打开失败,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W11-->
+		<!--2、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、卡槽地址非法 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W8B-->
+		<!--4、卡槽内无卡 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W86-->
+		<!--5、从卡槽移动卡片到读卡器失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W04-->
+		<!--6、读卡失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W05-->
+		<!--7、当前卡机正在执行的流程无法响应此请求,errorCode为Error_Busy(776),rtaCode为RTA2WD* 具体报错见后列表-->
+		<twoway name="MoveAndReadCardFromSlotJS" overlap="true" method_id="104" jsflag="true">
+			<req>
+				<!--指定要读卡的卡槽号-->
+				<param name="slot" type="int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>			
+			</req>
+			<res>
+				<!--卡号-->
+				<param name="cardNo" type="string"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>					
+			</res>			
+		</twoway>	
+		
+		<!--移回指定卡槽接口-->
+		<!--1、卡库打开失败,errorCode为Error_DevNotAvailable(2050),rtaCode为RTA2W11-->
+		<!--2、卡库当前无法处理此请求 errorCode为Error_InvalidState(768),rtaCode为RTA2WCL-->
+		<!--3、卡片从读卡器移回到卡槽失败 errorCode为Error_Unexpect(2147483646),rtaCode为RTA2W03-->
+		<twoway name="MoveBacktoSlotJS" overlap="true" method_id="105" jsflag="true">
+			<req>
+				<!--指定要移回的卡槽号-->
+				<param name="slot" type="int"/>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>			
+			</req>
+			<res>
+				<param name="reserved1" type="array_int"/>
+				<param name="reserved2" type="array_string"/>					
+			</res>			
+		</twoway>	
+		
+		<!--rtaCode为RTA2WD* 具体错误-->
+		<!--
+        RTA2WD4    正在卡机有卡等待状态
+        RTA2WD5    正在读卡流程
+        RTA2WD6    正在吞卡流程
+        RTA2WD7    正在取卡流程
+        RTA2WD8    正在吞卡流程
+        RTA2WD9    正在卡机异常故障恢复流程
+        RTA2WDA    正在卡库发卡移卡流程
+        RTA2WDB    正在写卡流程
+        RTA2WDE    正在卡片IC数据交互流程
+        RTA2WDJ    正在卡片打印流程
+        RTA2WDK    正在跨机激活流程
+        RTA2WDL    正在区间盘库流程
+		-->
 	</class>
 	<message name="FetchCard">
 			<param name="status" type="int"/>

+ 882 - 0
Module/mod_cardissuerstore/CardIssuerStore_client_g.h

@@ -1585,6 +1585,888 @@ public:
 		return Error;
 	}
 
+	ErrorCodeEnum ReadJS(CardIssuerStoreService_ReadJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_ReadJS, CardIssuerStoreService_MethodSignature_ReadJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum ReadJS(CardIssuerStoreService_ReadJS_Req &Req, CardIssuerStoreService_ReadJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = ReadJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum ReadJS(CardIssuerStoreService_ReadJS_Req &Req, CardIssuerStoreService_ReadJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = ReadJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum ReadJS(CardIssuerStoreService_ReadJS_Req &Req, CardIssuerStoreService_ReadJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = ReadJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum PostOnlineJS(CardIssuerStoreService_PostOnlineJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_PostOnlineJS, CardIssuerStoreService_MethodSignature_PostOnlineJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum PostOnlineJS(CardIssuerStoreService_PostOnlineJS_Req &Req, CardIssuerStoreService_PostOnlineJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PostOnlineJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum PostOnlineJS(CardIssuerStoreService_PostOnlineJS_Req &Req, CardIssuerStoreService_PostOnlineJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PostOnlineJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum PostOnlineJS(CardIssuerStoreService_PostOnlineJS_Req &Req, CardIssuerStoreService_PostOnlineJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PostOnlineJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum EjectJS(CardIssuerStoreService_EjectJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_EjectJS, CardIssuerStoreService_MethodSignature_EjectJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum EjectJS(CardIssuerStoreService_EjectJS_Req &Req, CardIssuerStoreService_EjectJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = EjectJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum EjectJS(CardIssuerStoreService_EjectJS_Req &Req, CardIssuerStoreService_EjectJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = EjectJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum EjectJS(CardIssuerStoreService_EjectJS_Req &Req, CardIssuerStoreService_EjectJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = EjectJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum CaptureJS(CardIssuerStoreService_CaptureJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_CaptureJS, CardIssuerStoreService_MethodSignature_CaptureJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum CaptureJS(CardIssuerStoreService_CaptureJS_Req &Req, CardIssuerStoreService_CaptureJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = CaptureJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum CaptureJS(CardIssuerStoreService_CaptureJS_Req &Req, CardIssuerStoreService_CaptureJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = CaptureJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum CaptureJS(CardIssuerStoreService_CaptureJS_Req &Req, CardIssuerStoreService_CaptureJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = CaptureJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum QueryInternalHasCardJS(CardIssuerStoreService_QueryInternalHasCardJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_QueryInternalHasCardJS, CardIssuerStoreService_MethodSignature_QueryInternalHasCardJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum QueryInternalHasCardJS(CardIssuerStoreService_QueryInternalHasCardJS_Req &Req, CardIssuerStoreService_QueryInternalHasCardJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = QueryInternalHasCardJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum QueryInternalHasCardJS(CardIssuerStoreService_QueryInternalHasCardJS_Req &Req, CardIssuerStoreService_QueryInternalHasCardJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = QueryInternalHasCardJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum QueryInternalHasCardJS(CardIssuerStoreService_QueryInternalHasCardJS_Req &Req, CardIssuerStoreService_QueryInternalHasCardJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = QueryInternalHasCardJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum IssueFromBoxJS(CardIssuerStoreService_IssueFromBoxJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_IssueFromBoxJS, CardIssuerStoreService_MethodSignature_IssueFromBoxJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum IssueFromBoxJS(CardIssuerStoreService_IssueFromBoxJS_Req &Req, CardIssuerStoreService_IssueFromBoxJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = IssueFromBoxJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum IssueFromBoxJS(CardIssuerStoreService_IssueFromBoxJS_Req &Req, CardIssuerStoreService_IssueFromBoxJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = IssueFromBoxJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum IssueFromBoxJS(CardIssuerStoreService_IssueFromBoxJS_Req &Req, CardIssuerStoreService_IssueFromBoxJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = IssueFromBoxJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum IssueFromSlotJS(CardIssuerStoreService_IssueFromSlotJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_IssueFromSlotJS, CardIssuerStoreService_MethodSignature_IssueFromSlotJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum IssueFromSlotJS(CardIssuerStoreService_IssueFromSlotJS_Req &Req, CardIssuerStoreService_IssueFromSlotJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = IssueFromSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum IssueFromSlotJS(CardIssuerStoreService_IssueFromSlotJS_Req &Req, CardIssuerStoreService_IssueFromSlotJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = IssueFromSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum IssueFromSlotJS(CardIssuerStoreService_IssueFromSlotJS_Req &Req, CardIssuerStoreService_IssueFromSlotJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = IssueFromSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_SetMaterialCountJS, CardIssuerStoreService_MethodSignature_SetMaterialCountJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum SetMaterialCountJS(CardIssuerStoreService_SetMaterialCountJS_Req &Req, CardIssuerStoreService_SetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = SetMaterialCountJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_GetMaterialCountJS, CardIssuerStoreService_MethodSignature_GetMaterialCountJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum GetMaterialCountJS(CardIssuerStoreService_GetMaterialCountJS_Req &Req, CardIssuerStoreService_GetMaterialCountJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = GetMaterialCountJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum SAMICCommandJS(CardIssuerStoreService_SAMICCommandJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_SAMICCommandJS, CardIssuerStoreService_MethodSignature_SAMICCommandJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum SAMICCommandJS(CardIssuerStoreService_SAMICCommandJS_Req &Req, CardIssuerStoreService_SAMICCommandJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = SAMICCommandJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum SAMICCommandJS(CardIssuerStoreService_SAMICCommandJS_Req &Req, CardIssuerStoreService_SAMICCommandJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = SAMICCommandJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum SAMICCommandJS(CardIssuerStoreService_SAMICCommandJS_Req &Req, CardIssuerStoreService_SAMICCommandJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = SAMICCommandJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum WriteTrackJS(CardIssuerStoreService_WriteTrackJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_WriteTrackJS, CardIssuerStoreService_MethodSignature_WriteTrackJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum WriteTrackJS(CardIssuerStoreService_WriteTrackJS_Req &Req, CardIssuerStoreService_WriteTrackJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = WriteTrackJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum WriteTrackJS(CardIssuerStoreService_WriteTrackJS_Req &Req, CardIssuerStoreService_WriteTrackJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = WriteTrackJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum WriteTrackJS(CardIssuerStoreService_WriteTrackJS_Req &Req, CardIssuerStoreService_WriteTrackJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = WriteTrackJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum PrintCardImmediatelyJS(CardIssuerStoreService_PrintCardImmediatelyJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_PrintCardImmediatelyJS, CardIssuerStoreService_MethodSignature_PrintCardImmediatelyJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum PrintCardImmediatelyJS(CardIssuerStoreService_PrintCardImmediatelyJS_Req &Req, CardIssuerStoreService_PrintCardImmediatelyJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PrintCardImmediatelyJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum PrintCardImmediatelyJS(CardIssuerStoreService_PrintCardImmediatelyJS_Req &Req, CardIssuerStoreService_PrintCardImmediatelyJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PrintCardImmediatelyJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum PrintCardImmediatelyJS(CardIssuerStoreService_PrintCardImmediatelyJS_Req &Req, CardIssuerStoreService_PrintCardImmediatelyJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PrintCardImmediatelyJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum PreOnlineCrossJS(CardIssuerStoreService_PreOnlineCrossJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_PreOnlineCrossJS, CardIssuerStoreService_MethodSignature_PreOnlineCrossJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum PreOnlineCrossJS(CardIssuerStoreService_PreOnlineCrossJS_Req &Req, CardIssuerStoreService_PreOnlineCrossJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PreOnlineCrossJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum PreOnlineCrossJS(CardIssuerStoreService_PreOnlineCrossJS_Req &Req, CardIssuerStoreService_PreOnlineCrossJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PreOnlineCrossJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum PreOnlineCrossJS(CardIssuerStoreService_PreOnlineCrossJS_Req &Req, CardIssuerStoreService_PreOnlineCrossJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = PreOnlineCrossJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum ReadBatchCardInfoInRangeJS(CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_ReadBatchCardInfoInRangeJS, CardIssuerStoreService_MethodSignature_ReadBatchCardInfoInRangeJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum ReadBatchCardInfoInRangeJS(CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req &Req, CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = ReadBatchCardInfoInRangeJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum ReadBatchCardInfoInRangeJS(CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req &Req, CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = ReadBatchCardInfoInRangeJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum ReadBatchCardInfoInRangeJS(CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req &Req, CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = ReadBatchCardInfoInRangeJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum GetCardInStoreJS(CardIssuerStoreService_GetCardInStoreJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_GetCardInStoreJS, CardIssuerStoreService_MethodSignature_GetCardInStoreJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum GetCardInStoreJS(CardIssuerStoreService_GetCardInStoreJS_Req &Req, CardIssuerStoreService_GetCardInStoreJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = GetCardInStoreJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum GetCardInStoreJS(CardIssuerStoreService_GetCardInStoreJS_Req &Req, CardIssuerStoreService_GetCardInStoreJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = GetCardInStoreJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum GetCardInStoreJS(CardIssuerStoreService_GetCardInStoreJS_Req &Req, CardIssuerStoreService_GetCardInStoreJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = GetCardInStoreJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum AddAndReadCardFromBoxJS(CardIssuerStoreService_AddAndReadCardFromBoxJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_AddAndReadCardFromBoxJS, CardIssuerStoreService_MethodSignature_AddAndReadCardFromBoxJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum AddAndReadCardFromBoxJS(CardIssuerStoreService_AddAndReadCardFromBoxJS_Req &Req, CardIssuerStoreService_AddAndReadCardFromBoxJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = AddAndReadCardFromBoxJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum AddAndReadCardFromBoxJS(CardIssuerStoreService_AddAndReadCardFromBoxJS_Req &Req, CardIssuerStoreService_AddAndReadCardFromBoxJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = AddAndReadCardFromBoxJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum AddAndReadCardFromBoxJS(CardIssuerStoreService_AddAndReadCardFromBoxJS_Req &Req, CardIssuerStoreService_AddAndReadCardFromBoxJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = AddAndReadCardFromBoxJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum MoveAndReadCardFromSlotJS(CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_MoveAndReadCardFromSlotJS, CardIssuerStoreService_MethodSignature_MoveAndReadCardFromSlotJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum MoveAndReadCardFromSlotJS(CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req &Req, CardIssuerStoreService_MoveAndReadCardFromSlotJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = MoveAndReadCardFromSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum MoveAndReadCardFromSlotJS(CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req &Req, CardIssuerStoreService_MoveAndReadCardFromSlotJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = MoveAndReadCardFromSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum MoveAndReadCardFromSlotJS(CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req &Req, CardIssuerStoreService_MoveAndReadCardFromSlotJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = MoveAndReadCardFromSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
+	ErrorCodeEnum MoveBacktoSlotJS(CardIssuerStoreService_MoveBacktoSlotJS_Req &Req, CSmartPointer<IAsynWaitSp> &spAsyncWait, DWORD dwTimeout)
+	{
+		CSmartPointer<IClientSessionFunction> pFunc = GetFunction();
+		CAutoBuffer Buf = SpObject2Buffer(Req);
+		if (m_context.checkEmpty())
+		{
+			m_context.AutoGenerate();
+			DbgToBeidou(m_context, m_pEntityBase != NULL ? m_pEntityBase->GetEntityName() : "")();
+			m_context = m_context.upgradeLink();
+		}
+		auto ret = pFunc->AsyncRequest(CardIssuerStoreService_Method_MoveBacktoSlotJS, CardIssuerStoreService_MethodSignature_MoveBacktoSlotJS, Buf, spAsyncWait, m_context, dwTimeout);
+		m_context.clear();
+		return ret;
+	}
+	ErrorCodeEnum MoveBacktoSlotJS(CardIssuerStoreService_MoveBacktoSlotJS_Req &Req, CardIssuerStoreService_MoveBacktoSlotJS_Ans &Ans, DWORD dwTimeout)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = MoveBacktoSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum MoveBacktoSlotJS(CardIssuerStoreService_MoveBacktoSlotJS_Req &Req, CardIssuerStoreService_MoveBacktoSlotJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError, CSimpleString &str)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = MoveBacktoSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+	ErrorCodeEnum MoveBacktoSlotJS(CardIssuerStoreService_MoveBacktoSlotJS_Req &Req, CardIssuerStoreService_MoveBacktoSlotJS_Ans &Ans, DWORD dwTimeout, DWORD &dwUserError)
+	{
+		CSmartPointer<IAsynWaitSp> spAsyncWait;
+		ErrorCodeEnum Error = MoveBacktoSlotJS(Req, spAsyncWait, dwTimeout);
+		if (Error == Error_Succeed) {
+			bool bEnd = false;
+			CSimpleString str;
+			Error = SpWaitAnswerObject(spAsyncWait, Ans, bEnd, dwUserError, str, dwTimeout);
+			LOG_ASSERT(Error || bEnd);
+		}
+		return Error;
+	}
+
 
 	bool SafeDelete()
 	{

+ 550 - 0
Module/mod_cardissuerstore/CardIssuerStore_def_g.h

@@ -46,6 +46,24 @@ namespace CardIssuerStore {
 #define CardIssuerStoreService_Method_PrintCardImmediately 31
 #define CardIssuerStoreService_Method_QueryCIStatus 32
 #define CardIssuerStoreService_Method_GetDevInfo 65535
+#define CardIssuerStoreService_Method_ReadJS 40
+#define CardIssuerStoreService_Method_PostOnlineJS 41
+#define CardIssuerStoreService_Method_EjectJS 42
+#define CardIssuerStoreService_Method_CaptureJS 43
+#define CardIssuerStoreService_Method_QueryInternalHasCardJS 44
+#define CardIssuerStoreService_Method_IssueFromBoxJS 45
+#define CardIssuerStoreService_Method_IssueFromSlotJS 46
+#define CardIssuerStoreService_Method_SetMaterialCountJS 47
+#define CardIssuerStoreService_Method_GetMaterialCountJS 48
+#define CardIssuerStoreService_Method_SAMICCommandJS 49
+#define CardIssuerStoreService_Method_WriteTrackJS 50
+#define CardIssuerStoreService_Method_PrintCardImmediatelyJS 51
+#define CardIssuerStoreService_Method_PreOnlineCrossJS 52
+#define CardIssuerStoreService_Method_ReadBatchCardInfoInRangeJS 100
+#define CardIssuerStoreService_Method_GetCardInStoreJS 101
+#define CardIssuerStoreService_Method_AddAndReadCardFromBoxJS 102
+#define CardIssuerStoreService_Method_MoveAndReadCardFromSlotJS 104
+#define CardIssuerStoreService_Method_MoveBacktoSlotJS 105
 
 #define CardIssuerStoreService_MethodSignature_Insert 1091033773
 #define CardIssuerStoreService_MethodSignature_CancelInsert -1202478828
@@ -81,6 +99,24 @@ namespace CardIssuerStore {
 #define CardIssuerStoreService_MethodSignature_PrintCardImmediately -1976184201
 #define CardIssuerStoreService_MethodSignature_QueryCIStatus -1907000703
 #define CardIssuerStoreService_MethodSignature_GetDevInfo 296205965
+#define CardIssuerStoreService_MethodSignature_ReadJS 493808269
+#define CardIssuerStoreService_MethodSignature_PostOnlineJS -92324905
+#define CardIssuerStoreService_MethodSignature_EjectJS -687956608
+#define CardIssuerStoreService_MethodSignature_CaptureJS 141697186
+#define CardIssuerStoreService_MethodSignature_QueryInternalHasCardJS -233766940
+#define CardIssuerStoreService_MethodSignature_IssueFromBoxJS -372937885
+#define CardIssuerStoreService_MethodSignature_IssueFromSlotJS 1061987729
+#define CardIssuerStoreService_MethodSignature_SetMaterialCountJS 780405825
+#define CardIssuerStoreService_MethodSignature_GetMaterialCountJS 1546227351
+#define CardIssuerStoreService_MethodSignature_SAMICCommandJS -535533507
+#define CardIssuerStoreService_MethodSignature_WriteTrackJS 1028099039
+#define CardIssuerStoreService_MethodSignature_PrintCardImmediatelyJS -315448088
+#define CardIssuerStoreService_MethodSignature_PreOnlineCrossJS 318664425
+#define CardIssuerStoreService_MethodSignature_ReadBatchCardInfoInRangeJS 1365159982
+#define CardIssuerStoreService_MethodSignature_GetCardInStoreJS -502001649
+#define CardIssuerStoreService_MethodSignature_AddAndReadCardFromBoxJS -908816302
+#define CardIssuerStoreService_MethodSignature_MoveAndReadCardFromSlotJS -660186112
+#define CardIssuerStoreService_MethodSignature_MoveBacktoSlotJS 27150638
 
 #define CardIssuerStoreService_LogCode_Insert "QLR040222000"
 #define CardIssuerStoreService_LogCode_CancelInsert "QLR040222001"
@@ -116,6 +152,25 @@ namespace CardIssuerStore {
 #define CardIssuerStoreService_LogCode_PrintCardImmediately "QLR040222031"
 #define CardIssuerStoreService_LogCode_QueryCIStatus "QLR040222032"
 #define CardIssuerStoreService_LogCode_GetDevInfo "QLR040222099"
+#define CardIssuerStoreService_LogCode_ReadJS "QLR040222040"
+#define CardIssuerStoreService_LogCode_PostOnlineJS "QLR040222041"
+#define CardIssuerStoreService_LogCode_EjectJS "QLR040222042"
+#define CardIssuerStoreService_LogCode_CaptureJS "QLR040222043"
+#define CardIssuerStoreService_LogCode_QueryInternalHasCardJS "QLR040222044"
+#define CardIssuerStoreService_LogCode_IssueFromBoxJS "QLR040222045"
+#define CardIssuerStoreService_LogCode_IssueFromSlotJS "QLR040222046"
+#define CardIssuerStoreService_LogCode_SetMaterialCountJS "QLR040222047"
+#define CardIssuerStoreService_LogCode_GetMaterialCountJS "QLR040222048"
+#define CardIssuerStoreService_LogCode_SAMICCommandJS "QLR040222049"
+#define CardIssuerStoreService_LogCode_WriteTrackJS "QLR040222050"
+#define CardIssuerStoreService_LogCode_PrintCardImmediatelyJS "QLR040222051"
+#define CardIssuerStoreService_LogCode_PreOnlineCrossJS "QLR040222052"
+#define CardIssuerStoreService_LogCode_ReadBatchCardInfoInRangeJS "QLR0402220100"
+#define CardIssuerStoreService_LogCode_GetCardInStoreJS "QLR0402220101"
+#define CardIssuerStoreService_LogCode_AddAndReadCardFromBoxJS "QLR0402220102"
+#define CardIssuerStoreService_LogCode_MoveAndReadCardFromSlotJS "QLR0402220104"
+#define CardIssuerStoreService_LogCode_MoveBacktoSlotJS "QLR0402220105"
+
 struct CardIssuerStoreService_Insert_Req
 {
 	CSimpleStringA aid;
@@ -990,6 +1045,501 @@ struct CardIssuerStoreService_GetDevInfo_Ans
 
 };
 
+struct CardIssuerStoreService_ReadJS_Req
+{
+	CSimpleStringA aid;
+	CSimpleStringA businessData;
+	int reserved1;
+	CSimpleStringA reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & aid & businessData & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_ReadJS_Ans
+{
+	int magStatus;
+	CSimpleStringA track1;
+	CSimpleStringA track2;
+	CSimpleStringA track3;
+	int cardPos;
+	CSimpleStringA t2Account;
+	CSimpleStringA t2Region;
+	CSimpleStringA t2CardSerial;
+	CSimpleStringA t2CVC;
+	CSimpleStringA t2ExpireDate;
+	int icState;
+	int icMode;
+	CSimpleStringA icCardNo;
+	CSimpleStringA result;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & magStatus & track1 & track2 & track3 & cardPos & t2Account & t2Region & t2CardSerial & t2CVC & t2ExpireDate & icState & icMode & icCardNo & result & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_PostOnlineJS_Req
+{
+	CSimpleStringA data;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & data;
+	}
+
+};
+
+struct CardIssuerStoreService_PostOnlineJS_Ans
+{
+	CSimpleStringA result;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & result;
+	}
+
+};
+
+struct CardIssuerStoreService_EjectJS_Req
+{
+
+	void Serialize(SpBuffer &Buf)
+	{
+	}
+
+};
+
+struct CardIssuerStoreService_EjectJS_Ans
+{
+
+	void Serialize(SpBuffer &Buf)
+	{
+	}
+
+};
+
+struct CardIssuerStoreService_CaptureJS_Req
+{
+	CSimpleStringA captureCode;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & captureCode;
+	}
+
+};
+
+struct CardIssuerStoreService_CaptureJS_Ans
+{
+
+	void Serialize(SpBuffer &Buf)
+	{
+	}
+
+};
+
+struct CardIssuerStoreService_QueryInternalHasCardJS_Req
+{
+
+	void Serialize(SpBuffer &Buf)
+	{
+	}
+
+};
+
+struct CardIssuerStoreService_QueryInternalHasCardJS_Ans
+{
+	int position;
+	int reserved1;
+	CSimpleStringA reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & position & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_IssueFromBoxJS_Req
+{
+	int hopper;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & hopper & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_IssueFromBoxJS_Ans
+{
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_IssueFromSlotJS_Req
+{
+	int slot;
+	CSimpleStringA cardNo;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & slot & cardNo & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_IssueFromSlotJS_Ans
+{
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_SetMaterialCountJS_Req
+{
+	CAutoArray<int> SetHopper;
+	int SetCaptured;
+	int captured;
+	CAutoArray<CSimpleStringA> CardBoxNo;
+	CAutoArray<CSimpleStringA> PsbCode;
+	CAutoArray<CSimpleStringA> PsbName;
+	CAutoArray<CSimpleStringA> Maintainer;
+	CAutoArray<CSimpleStringA> MaintainTime;
+	CAutoArray<int> CardInit;
+	CAutoArray<int> CardPercent;
+	CAutoArray<int> remains;
+	CAutoArray<int> issued;
+	CAutoArray<int> mixed;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & SetHopper & SetCaptured & captured & CardBoxNo & PsbCode & PsbName & Maintainer & MaintainTime & CardInit & CardPercent & remains & issued & mixed & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_SetMaterialCountJS_Ans
+{
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_GetMaterialCountJS_Req
+{
+	CAutoArray<int> GetHopper;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & GetHopper & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_GetMaterialCountJS_Ans
+{
+	int captured;
+	CAutoArray<int> hasHopper;
+	CAutoArray<CSimpleStringA> CardBoxNo;
+	CAutoArray<CSimpleStringA> PsbCode;
+	CAutoArray<CSimpleStringA> PsbName;
+	CAutoArray<CSimpleStringA> Maintainer;
+	CAutoArray<CSimpleStringA> MaintainTime;
+	CAutoArray<int> CardInit;
+	CAutoArray<int> CardPercent;
+	CAutoArray<int> remains;
+	CAutoArray<int> issued;
+	CAutoArray<int> mixed;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & captured & hasHopper & CardBoxNo & PsbCode & PsbName & Maintainer & MaintainTime & CardInit & CardPercent & remains & issued & mixed & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_SAMICCommandJS_Req
+{
+	int cmdType;
+	CAutoArray<int> param1;
+	CAutoArray<CSimpleStringA> param2;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & cmdType & param1 & param2 & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_SAMICCommandJS_Ans
+{
+	CAutoArray<int> ret1;
+	CAutoArray<CSimpleStringA> ret2;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & ret1 & ret2 & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_WriteTrackJS_Req
+{
+	int mode;
+	int co;
+	CSimpleStringW track1;
+	CSimpleStringW track2;
+	CSimpleStringW track3;
+	CSimpleStringW reserved;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & mode & co & track1 & track2 & track3 & reserved;
+	}
+
+};
+
+struct CardIssuerStoreService_WriteTrackJS_Ans
+{
+	int result;
+	int reserved1;
+	CSimpleStringA reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & result & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_PrintCardImmediatelyJS_Req
+{
+	CSimpleStringA formFile;
+	CSimpleStringA printData;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & formFile & printData & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_PrintCardImmediatelyJS_Ans
+{
+	int ret;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & ret & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_PreOnlineCrossJS_Req
+{
+	CSimpleStringA businessData;
+	int slot;
+	CSimpleStringA account;
+	CSimpleStringA reserved1;
+	CSimpleStringA reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & businessData & slot & account & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_PreOnlineCrossJS_Ans
+{
+	CSimpleStringA result;
+	int findCard;
+	int cardPos;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & result & findCard & cardPos;
+	}
+
+};
+
+struct CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req
+{
+	int beginSlot;
+	int endSlot;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & beginSlot & endSlot & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Ans
+{
+	int status;
+	CAutoArray<int> slotNum;
+	CAutoArray<CSimpleStringA> cardNo;
+	CAutoArray<CSimpleStringA> cardSerial;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & status & slotNum & cardNo & cardSerial & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_GetCardInStoreJS_Req
+{
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_GetCardInStoreJS_Ans
+{
+	int slotSum;
+	int slotHasCardCount;
+	CAutoArray<int> hasCardSlotNum;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & slotSum & slotHasCardCount & hasCardSlotNum & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_AddAndReadCardFromBoxJS_Req
+{
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_AddAndReadCardFromBoxJS_Ans
+{
+	CSimpleStringA cardNo;
+	CSimpleStringA track2;
+	CSimpleStringA track3;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & cardNo & track2 & track3 & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req
+{
+	int slot;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & slot & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_MoveAndReadCardFromSlotJS_Ans
+{
+	CSimpleStringA cardNo;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & cardNo & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_MoveBacktoSlotJS_Req
+{
+	int slot;
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & slot & reserved1 & reserved2;
+	}
+
+};
+
+struct CardIssuerStoreService_MoveBacktoSlotJS_Ans
+{
+	CAutoArray<int> reserved1;
+	CAutoArray<CSimpleStringA> reserved2;
+
+	void Serialize(SpBuffer &Buf)
+	{
+		auto & buf = Buf & reserved1 & reserved2;
+	}
+
+};
+
 
 ///////////////////////////
 

+ 486 - 0
Module/mod_cardissuerstore/CardIssuerStore_server_g.h

@@ -268,6 +268,132 @@ public:
 				Error = Error_MethodSignatureFailed;
 			}
 			break;
+		case CardIssuerStoreService_Method_ReadJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_ReadJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_PostOnlineJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_PostOnlineJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_EjectJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_EjectJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_CaptureJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_CaptureJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_QueryInternalHasCardJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_QueryInternalHasCardJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_IssueFromBoxJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_IssueFromBoxJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_IssueFromSlotJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_IssueFromSlotJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_SetMaterialCountJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_SetMaterialCountJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_GetMaterialCountJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_GetMaterialCountJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_SAMICCommandJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_SAMICCommandJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_WriteTrackJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_WriteTrackJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_PrintCardImmediatelyJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_PrintCardImmediatelyJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_PreOnlineCrossJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_PreOnlineCrossJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_ReadBatchCardInfoInRangeJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_ReadBatchCardInfoInRangeJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_GetCardInStoreJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_GetCardInStoreJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_AddAndReadCardFromBoxJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_AddAndReadCardFromBoxJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_MoveAndReadCardFromSlotJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_MoveAndReadCardFromSlotJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_MoveBacktoSlotJS:
+			if (dwSignature == CardIssuerStoreService_MethodSignature_MoveBacktoSlotJS) {
+				bOverlap = true;
+			} else {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
 		default:
 			Error = Error_MethodNotFound;
 			break;
@@ -449,6 +575,96 @@ public:
 				Error = Error_MethodSignatureFailed;
 			}
 			break;
+		case CardIssuerStoreService_Method_ReadJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_ReadJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_PostOnlineJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_PostOnlineJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_EjectJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_EjectJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_CaptureJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_CaptureJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_QueryInternalHasCardJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_QueryInternalHasCardJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_IssueFromBoxJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_IssueFromBoxJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_IssueFromSlotJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_IssueFromSlotJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_SetMaterialCountJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_SetMaterialCountJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_GetMaterialCountJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_GetMaterialCountJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_SAMICCommandJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_SAMICCommandJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_WriteTrackJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_WriteTrackJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_PrintCardImmediatelyJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_PrintCardImmediatelyJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_PreOnlineCrossJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_PreOnlineCrossJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_ReadBatchCardInfoInRangeJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_ReadBatchCardInfoInRangeJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_GetCardInStoreJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_GetCardInStoreJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_AddAndReadCardFromBoxJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_AddAndReadCardFromBoxJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_MoveAndReadCardFromSlotJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_MoveAndReadCardFromSlotJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
+		case CardIssuerStoreService_Method_MoveBacktoSlotJS:
+			if (dwSignature != CardIssuerStoreService_MethodSignature_MoveBacktoSlotJS) {
+				Error = Error_MethodSignatureFailed;
+			}
+			break;
 		default:
 			Error = Error_MethodNotFound;
 			break;
@@ -626,6 +842,96 @@ public:
 	/// override by user
 	}
 
+	virtual void Handle_ReadJS(SpReqAnsContext<CardIssuerStoreService_ReadJS_Req, CardIssuerStoreService_ReadJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_PostOnlineJS(SpReqAnsContext<CardIssuerStoreService_PostOnlineJS_Req, CardIssuerStoreService_PostOnlineJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_EjectJS(SpReqAnsContext<CardIssuerStoreService_EjectJS_Req, CardIssuerStoreService_EjectJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_CaptureJS(SpReqAnsContext<CardIssuerStoreService_CaptureJS_Req, CardIssuerStoreService_CaptureJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_QueryInternalHasCardJS(SpReqAnsContext<CardIssuerStoreService_QueryInternalHasCardJS_Req, CardIssuerStoreService_QueryInternalHasCardJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_IssueFromBoxJS(SpReqAnsContext<CardIssuerStoreService_IssueFromBoxJS_Req, CardIssuerStoreService_IssueFromBoxJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_IssueFromSlotJS(SpReqAnsContext<CardIssuerStoreService_IssueFromSlotJS_Req, CardIssuerStoreService_IssueFromSlotJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_SetMaterialCountJS(SpReqAnsContext<CardIssuerStoreService_SetMaterialCountJS_Req, CardIssuerStoreService_SetMaterialCountJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_GetMaterialCountJS(SpReqAnsContext<CardIssuerStoreService_GetMaterialCountJS_Req, CardIssuerStoreService_GetMaterialCountJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_SAMICCommandJS(SpReqAnsContext<CardIssuerStoreService_SAMICCommandJS_Req, CardIssuerStoreService_SAMICCommandJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_WriteTrackJS(SpReqAnsContext<CardIssuerStoreService_WriteTrackJS_Req, CardIssuerStoreService_WriteTrackJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_PrintCardImmediatelyJS(SpReqAnsContext<CardIssuerStoreService_PrintCardImmediatelyJS_Req, CardIssuerStoreService_PrintCardImmediatelyJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_PreOnlineCrossJS(SpReqAnsContext<CardIssuerStoreService_PreOnlineCrossJS_Req, CardIssuerStoreService_PreOnlineCrossJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_ReadBatchCardInfoInRangeJS(SpReqAnsContext<CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req, CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_GetCardInStoreJS(SpReqAnsContext<CardIssuerStoreService_GetCardInStoreJS_Req, CardIssuerStoreService_GetCardInStoreJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_AddAndReadCardFromBoxJS(SpReqAnsContext<CardIssuerStoreService_AddAndReadCardFromBoxJS_Req, CardIssuerStoreService_AddAndReadCardFromBoxJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_MoveAndReadCardFromSlotJS(SpReqAnsContext<CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req, CardIssuerStoreService_MoveAndReadCardFromSlotJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
+	virtual void Handle_MoveBacktoSlotJS(SpReqAnsContext<CardIssuerStoreService_MoveBacktoSlotJS_Req, CardIssuerStoreService_MoveBacktoSlotJS_Ans>::Pointer ctx)
+	{
+	/// override by user
+	}
+
 	virtual void OnRequest(CSmartPointer<ITransactionContext> pTransactionContext)
 	{
 		CAutoBuffer Buf;
@@ -982,6 +1288,186 @@ public:
 						Handle_GetDevInfo(ctx);
 					}
 					break;
+				case CardIssuerStoreService_Method_ReadJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_ReadJS_Req,CardIssuerStoreService_ReadJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_ReadJS_Req,CardIssuerStoreService_ReadJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_ReadJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_PostOnlineJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_PostOnlineJS_Req,CardIssuerStoreService_PostOnlineJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_PostOnlineJS_Req,CardIssuerStoreService_PostOnlineJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_PostOnlineJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_EjectJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_EjectJS_Req,CardIssuerStoreService_EjectJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_EjectJS_Req,CardIssuerStoreService_EjectJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_EjectJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_CaptureJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_CaptureJS_Req,CardIssuerStoreService_CaptureJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_CaptureJS_Req,CardIssuerStoreService_CaptureJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_CaptureJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_QueryInternalHasCardJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_QueryInternalHasCardJS_Req,CardIssuerStoreService_QueryInternalHasCardJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_QueryInternalHasCardJS_Req,CardIssuerStoreService_QueryInternalHasCardJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_QueryInternalHasCardJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_IssueFromBoxJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_IssueFromBoxJS_Req,CardIssuerStoreService_IssueFromBoxJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_IssueFromBoxJS_Req,CardIssuerStoreService_IssueFromBoxJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_IssueFromBoxJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_IssueFromSlotJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_IssueFromSlotJS_Req,CardIssuerStoreService_IssueFromSlotJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_IssueFromSlotJS_Req,CardIssuerStoreService_IssueFromSlotJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_IssueFromSlotJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_SetMaterialCountJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_SetMaterialCountJS_Req,CardIssuerStoreService_SetMaterialCountJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_SetMaterialCountJS_Req,CardIssuerStoreService_SetMaterialCountJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_SetMaterialCountJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_GetMaterialCountJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_GetMaterialCountJS_Req,CardIssuerStoreService_GetMaterialCountJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_GetMaterialCountJS_Req,CardIssuerStoreService_GetMaterialCountJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_GetMaterialCountJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_SAMICCommandJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_SAMICCommandJS_Req,CardIssuerStoreService_SAMICCommandJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_SAMICCommandJS_Req,CardIssuerStoreService_SAMICCommandJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_SAMICCommandJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_WriteTrackJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_WriteTrackJS_Req,CardIssuerStoreService_WriteTrackJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_WriteTrackJS_Req,CardIssuerStoreService_WriteTrackJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_WriteTrackJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_PrintCardImmediatelyJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_PrintCardImmediatelyJS_Req,CardIssuerStoreService_PrintCardImmediatelyJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_PrintCardImmediatelyJS_Req,CardIssuerStoreService_PrintCardImmediatelyJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_PrintCardImmediatelyJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_PreOnlineCrossJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_PreOnlineCrossJS_Req,CardIssuerStoreService_PreOnlineCrossJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_PreOnlineCrossJS_Req,CardIssuerStoreService_PreOnlineCrossJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_PreOnlineCrossJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_ReadBatchCardInfoInRangeJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req,CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Req,CardIssuerStoreService_ReadBatchCardInfoInRangeJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_ReadBatchCardInfoInRangeJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_GetCardInStoreJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_GetCardInStoreJS_Req,CardIssuerStoreService_GetCardInStoreJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_GetCardInStoreJS_Req,CardIssuerStoreService_GetCardInStoreJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_GetCardInStoreJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_AddAndReadCardFromBoxJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_AddAndReadCardFromBoxJS_Req,CardIssuerStoreService_AddAndReadCardFromBoxJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_AddAndReadCardFromBoxJS_Req,CardIssuerStoreService_AddAndReadCardFromBoxJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_AddAndReadCardFromBoxJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_MoveAndReadCardFromSlotJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req,CardIssuerStoreService_MoveAndReadCardFromSlotJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_MoveAndReadCardFromSlotJS_Req,CardIssuerStoreService_MoveAndReadCardFromSlotJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_MoveAndReadCardFromSlotJS(ctx);
+					}
+					break;
+				case CardIssuerStoreService_Method_MoveBacktoSlotJS:
+					{
+						SpReqAnsContext<CardIssuerStoreService_MoveBacktoSlotJS_Req,CardIssuerStoreService_MoveBacktoSlotJS_Ans>::Pointer ctx;
+						ctx.Attach(new SpReqAnsContext<CardIssuerStoreService_MoveBacktoSlotJS_Req,CardIssuerStoreService_MoveBacktoSlotJS_Ans>(pTransactionContext));
+						SpBuffer2Object(Buf, ctx->Req);
+						pTransactionContext->GetLinkContext(ctx->link);
+						EntityResource::setLink(ctx->link);
+						Handle_MoveBacktoSlotJS(ctx);
+					}
+					break;
 				default:
 					assert(0);
 					break;