123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- {
- "schema":"https://iotx-tsl.oss-ap-southeast-1.aliyuncs.com/schema.json",
- "profile":{
- "productKey":"a19yWoc0Glx"
- },
- "services":[
- {
- "outputData":[
-
- ],
- "identifier":"set",
- "inputData":[
- {
- "identifier":"Price",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"Price"
- },
- {
- "identifier":"FuelProductName",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"FuelProductName"
- }
- ],
- "method":"thing.service.property.set",
- "name":"set",
- "required":true,
- "callType":"async",
- "desc":"属性设置"
- },
- {
- "outputData":[
- {
- "identifier":"Price",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"Price"
- },
- {
- "identifier":"LastSaleAmt",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"LastSaleAmt"
- },
- {
- "identifier":"LastSaleVol",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"LastSaleVol"
- },
- {
- "identifier":"CurSaleAmt",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurSaleAmt"
- },
- {
- "identifier":"CurSaleVol",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurSaleVol"
- },
- {
- "identifier":"FuelProductName",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"FuelProductName"
- },
- {
- "identifier":"CurState",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurState"
- }
- ],
- "identifier":"get",
- "inputData":[
- "Price",
- "LastSaleAmt",
- "LastSaleVol",
- "CurSaleAmt",
- "CurSaleVol",
- "FuelProductName",
- "CurState"
- ],
- "method":"thing.service.property.get",
- "name":"get",
- "required":true,
- "callType":"async",
- "desc":"属性获取"
- },
- {
- "outputData":[
- {
- "identifier":"AuthResult",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"AuthResult"
- }
- ],
- "identifier":"AuthPump",
- "inputData":[
- {
- "identifier":"Amt",
- "dataType":{
- "specs":{
- "min":"0",
- "max":"999999",
- "step":"0.001"
- },
- "type":"double"
- },
- "name":"Amt"
- },
- {
- "identifier":"Vol",
- "dataType":{
- "specs":{
- "min":"0",
- "max":"999999",
- "step":"0.001"
- },
- "type":"double"
- },
- "name":"Vol"
- }
- ],
- "method":"thing.service.AuthPump",
- "name":"AuthPump",
- "required":false,
- "callType":"async"
- }
- ],
- "properties":[
- {
- "identifier":"Price",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"Price",
- "accessMode":"rw",
- "required":false,
- "desc":"fuel product price of this fuel point"
- },
- {
- "identifier":"LastSaleAmt",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"LastSaleAmt",
- "accessMode":"r",
- "required":false
- },
- {
- "identifier":"LastSaleVol",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"LastSaleVol",
- "accessMode":"r",
- "required":false
- },
- {
- "identifier":"CurSaleAmt",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurSaleAmt",
- "accessMode":"r",
- "required":false
- },
- {
- "identifier":"CurSaleVol",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurSaleVol",
- "accessMode":"r",
- "required":false
- },
- {
- "identifier":"FuelProductName",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"FuelProductName",
- "accessMode":"rw",
- "required":false
- },
- {
- "identifier":"CurState",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurState",
- "accessMode":"r",
- "required":false
- }
- ],
- "events":[
- {
- "outputData":[
- {
- "identifier":"Price",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"Price"
- },
- {
- "identifier":"LastSaleAmt",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"LastSaleAmt"
- },
- {
- "identifier":"LastSaleVol",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"LastSaleVol"
- },
- {
- "identifier":"CurSaleAmt",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurSaleAmt"
- },
- {
- "identifier":"CurSaleVol",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurSaleVol"
- },
- {
- "identifier":"FuelProductName",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"FuelProductName"
- },
- {
- "identifier":"CurState",
- "dataType":{
- "specs":{
- "length":"2048"
- },
- "type":"text"
- },
- "name":"CurState"
- }
- ],
- "identifier":"post",
- "method":"thing.event.property.post",
- "name":"post",
- "type":"info",
- "required":true,
- "desc":"属性上报"
- }
- ]
- }
|