#说明
    json字段前面如果有//, 则表示该字段是之前自动生成id时候使用的, 但是现在指定id生成对象已经不再需要传入
    
    // 厂商信息点, 数据平台给资产定义的信息点, 只有在venderInfo = true 的时候才能操作以下信息点
    // 生产厂家ID  --> DPManufacturerID
    // 设备型号ID  --> DPSpecificationID
    // 供应商ID    --> DPSupplierID
    // 保险公司ID  --> DPInsurerID
    // 维修商ID    --> DPMaintainerID

# 增加一个新项目
	http://localhost:8080/data-platform-2/mng/project/create?secret=****
post例子：
	**所有对象的信息点的插入均以此例子为标准(必须添加时间字段)**
	
	{
	    "id":"Pj1101080001",
	    //"area_code":""
		"password":"***",
		"infos": {
		    "ProjLocalID":[ // 信息点的值必须是JSONArray类型(如例子所示), 否则失败
		        {"time":"*******", "value": "1101080002"}, // 添加Object时, time默认是当前时间.
		        {"time":"*******", "value": "********"}
            ]
			"ProjLocalName": [
			    {"value": "广联达1期测试","time":"*********"}
            ]
			"Province": [
			    {"value":"11", "time":"*********"}
            ]
			"City": [{"value":"110108", "time":"**********"}
			]
		    "UrbanDevpLev":[
		        {"time":"20170508085324", "value":"1000"},
		        {"time":"20170808085324", "value":"1200"}
		    ],
			"Tdb": [
			    {"value" :{
                        "meter": "8003",
                        "func-id": 111001
                    }, "time":"**********"}
            "RH": [ 
                {"value":{
                        "meter": "8003",
                        "func-id": 112001
                    }, "time":"*******"}
            ]
        }
    }
返回：

	{"Result":"success","ResultMsg":"","id":"Pj1101080002", "ProjName":"*******"}
	{"Result":"failure","ResultMsg":"id自动生成失败"}  
	
	
	
	
# 建筑体操作
## 增加
    http://localhost:8080/data-platform-2/mng/building/create?secret=****
post例子：

    {
        "id":"Bd1101080001001",
        //"project_id": "Pj1101080001",
        "infos":{
            "Tdb": {
                 "meter": "8003",
                 "func-id": 111001
             },
             "RH": {
                 "meter": "8003",
                 "func-id": 112001
             }
         }
    } 
返回：
 
    {"Result":"success","ResultMsg":"","id":"Bd1101080001001", "BuildName":"*******"}
    {"Result":"failure","ResultMsg":""}

# 楼层操作
## 增加
	http://localhost:8080/data-platform-2/floor/create?projectId=Pj1101080002&secret=****
post例子：系统自动为floor_id赋值
	
	{
	    "id":"",
		//"building_id":"Bd1101080002001",
		"infos":{
		    "Tdb": {
                 "meter": "8003",
                 "func-id": 111001
             },
             "RH": {
                 "meter": "8003",
                 "func-id": 112001
             }
         }
	}
返回：
	
	{"Result":"success","ResultMsg":"","id":"Fl1101080002001001"}
	{"Result":"failure","ResultMsg":""}
	
	
# 空间操作
##增加
	infos的内容可任意添加

	http://localhost:8080/data-platform-2/space/create?projectId=Pj1101080002&secret=****

post体例子：//已更新

	{
        "id":"",
        //"floor_id": "Fl1101080002001000",
        "infos": [
            "UrbanDevpLev":[
                {"time":"20170508085324", "value":"1000"},
                {"time":"20170808085324", "value":"1200"}
            ]
        ]
    }
       
返回：

	{"Result":"success","ResultMsg":"","id":"Sp1101080002001000001"}
	{"Result":"failure","ResultMsg":"需包含字段floor_id"}
	
	
# 设备和系统操作
##增加
	http://localhost:8080/data-platform-2/equipment/create?projectId=Pj1101080002&secret=****
	
post体例子：

    {  
        "id":"Eq1101080002001SETDTF001",
        //"building_id":"Bd1101080002001",
        //"equipment_category":"TDTF",     // 或者是系统的category
        "infos":{
            "UrbanDevpLev":[
                {"time":"20170508085324", "value":"1000"},
                {"time":"20170808085324", "value":"1200"}
            ]
        }
    }  

返回：
    
	{"Result":"success","ResultMsg":"","id":"Eq1101080002001SETDTF001"}	
	{"Result":"success","ResultMsg":"","id":"Sy1101080002001SETD001"}	
    {"Result":"failure","ResultMsg":""}}
    
    
##增加部件
	http://localhost:8080/data-platform-2/component/create?projectId=Pj1101080002&secret=****
	
post体例子：

    {  
        "id":"Ec1101080002001SETDHS001IP001",
        //"equip_id":"Eq1101080002001SETDHS001",
        //"component_category":"IP",
        "infos":{
            "UrbanDevpLev":[
                {"time":"20170508085324", "value":"1000"},
                {"time":"20170808085324", "value":"1200"}
            ]
        }
    }

返回：
    
	{"Result":"success","ResultMsg":"","id":"Ec1101080002001SETDHS001IP001"}	
    {
        "Result": "failure",
        "ResultMsg": "已存在的对象!"
    }
    
    
# 缓存包装前的接口
## 资产按关联关系查询(Property::relationQuery方法)
    http://localhost:8080/data-platform-3/property/relation_query?projectId=Pj110108****&secret=****
    
    post例子：
    
    {
        "nodata":true, // 选填, 如果为true, 则只统计个数. 不查询实际信息, 默认false
        "valid": true, // 选填, true表示筛选可用的对象, false表示筛选已作废的对象, null表示都查询. 不填默认是true. 
        "linkInfos": true, // 选填, 查询岗位时候显示关联资产的信息点, true是显示, false是不显示, 默认true
        "historyInfos":false, // 选填, 查询信息点的历史值, 默认false 是不查询. 
        "venderInfo":true,   // 选填, 查询厂商库关联的信息点, 默认true 是查询.
        "ctime":{      // 选填, 按创建时间筛选数据 $gt 大于, $gte 大于等于, $lt 小于, $lte 小于等于. 可以只有大于或者小于, 但是要合乎是一个时间段的逻辑
            "$gte":"20170913000000",
            "$lte":"20170920000000"
        },
        "criteria":{            // 必填
            "id":"Bd********",  // 关联的Id, 可以是项目id, 建筑id, 楼层id, 设备id, 部件id中的一种, 不填默认项目id
            "family":["***", "AAA"]      // 种族编码 , 数组内可不填(查该id下所有种族的资产)
        }
    }
    返回:
        
    {
        "Result": "success",
        "ResultMsg": "",
        "Count": 3
        "Content": [
            {
                "id": "Pe************",
                "family":"AAA",
                "relation":{
                    "link":"Eq*********",      // 资产关联的设备岗位ID
                    "building": "Bd*******",   // 资产关联的建筑ID
                    "floor":"Fl******",        // 资产关联的楼层ID
                },
                "infos": {                  // 所属种族在信息点里保存.
                    "***": "1101080001",
                    "***": "广联达二期",
                    *
                    *
                    "***": "Pj1101080001"
                }
            },.....
        ]
    }
    {"Result":"failure","ResultMsg":"****"}
    
#批量更新动态字符串类数据

	http://47.93.33.207:8889/data-platform-3/parameter/string/batch_update2?projectId=Pj1101080001&secret=**** 

post

	{
        	"items":[
                {
                    "meter":"hhh",          // 表号                 
                    "funcid":1009,          // 功能号          
                    "data":1,                // 值 
                    "receivetime":"20191021092895"   //更新时间，可选，若不填，系统自动填上当前时间
                },
                {
                    "meter":"hhs",
                    "funcid":1008,                    
                    "data":1                        
                }
            ]
    }

response

    {
        "Result": "success",
        "ResultMsg": ""
    }