设备网络SDK开发使用手册 |
<FTPNotificationList version="2.0" xmlns="http://www.std-cgi.com/ver20/XMLSchema">
<FTPNotification> <id>1</id> <!--req, FTP序号--> <enabled opt="true">true</enabled> <!--req, 是否启用--> <addressingFormatType opt="ipaddress,hostname">ipaddress</addressingFormatType> <!--req, 地址类型:ipaddress-IP方式,hostname-域名方式--> <ipAddress>0.0.0.0</ipAddress> <!--req, FTP地址--> <portNo>21</portNo> <!--req, FTP端口--> <userName></userName> <!--req, FTP登录用户名--> <annoyftp opt="true,false">false</annoyftp> <!--req, 是否匿名登录--> <uploadPicture opt="true,false">false</uploadPicture> <!--req, 是否上传图片--> <uploadPath> <!--req, 上传路径--> <pathDepth min="" max="">0</pathDepth> <!--req, 目录结构等级--> <topDirNameRule opt="devName,devId,devIp,customize">customize</topDirNameRule> <!--req, 一级目录命名规则:devName-设备名,devId-设备号,devIp-设备IP地址,customize-自定义--> <topDirName min="" max=""></topDirName> <!--req, 一级目录命名长度限制--> <subDirNameRule opt="chanName,chanId,customize">customize</subDirNameRule> <!--req, 二级目录命名规则:chanName-通道名,chanId-通道号,customize-自定义--> <subDirName min="" max=""></subDirName> <!--req, 二级目录命名长度限制--> </uploadPath> <FtpUpload version="2.0" xmlns="http://www.std-cgi.org/ver20/XMLSchema"> <PicName> <EventType opt="default,vehicledetection"> <!--req, xs:string,"", 事件类型:default-默认,vehicledetection-车辆侦测--> </EventType> <mode opt="default,custom"> <!--req, xs:string, 图片命名模式:default-默认,custom-自定义--> </mode> <NameRuleType> <!--req, xs:string, 图片命名规则--> <RuleTypeItemList size=""> <RuleTypeItem> <id> <!-- req, xs: interger--> </id> <item opt="capture_time,plate_No,alarm_type,camera_name"> <!-- req, xs: string --> </item> <cameraName min="" max=""> <!-- dep, xs: string, "依赖于camera_name节点"--> </cameraName> </RuleTypeItem> </RuleTypeItemList> </NameRuleType> </PicName> </FtpUpload> </FTPNotification> </FTPNotificationList> |