{
"bmc.kepler.Example.InterfaceBar": {
"virtual": true,
"properties": {
"Id": {
"baseType": "U32",
"readOnly": true,
"default": 1,
"description": "接口ID"
},
"Name": {
"baseType": "String",
"readOnly": true,
"description": "接口名称"
},
"Presence": {
"baseType": "Boolean",
"readOnly": false,
"default": true,
"description": "接口在位状态"
},
"Frudata": {
"baseType": "U8[]",
"description": "fru数据"
}
},
"methods": {
"MethodBar": {
"req": {
"StructArg": {
"$ref": "#/defs/SturctArg"
},
"ArrayArg": {
"baseType": "U32[]"
},
"ArrayStruct": {
"baseType": "Array",
"items": {
"$ref": "#/defs/SturctArg"
}
}
},
"rsp": {
"Result": {
"baseType": "U32"
}
}
}
},
"signals": {
"Notify": {
"Id": {
"baseType": "U32",
"minimum":1,
"maximum":100
},
"Status": {
"baseType": "U32"
}
}
}
},
"defs": {
"SturctArg": {
"SubArg1": {
"baseType": "String"
},
"SubArg2": {
"baseType": "String"
}
}
}
}