Example in the context of the grammar | M | Health data model in JSON format Image Added Bloque de código |
---|
| {
"che": [
{
"id": "",
"name": "",
"health": [
{
"id": "",
"name": "",
"number": 0,
"type": "",
"family": "",
"brand": "",
"model": "",
"source": "",
"softwareid": "",
"location": "",
"healthy": {
" | status"value: false,
"type": "operational/safety/component",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110065Z }{valuefalsetypeoperational/safety/componentpomioutputpomtestimatedtimestamp2021-12-13T09:01:10.065Zcomputingtime2021-12-13T09:01:10.065Z, "forecasttime": "2021-12-13T09:01:10.065Z"
level""false,
"type": "operational/safety/component",
" | unitpercentagepomoutputpomtactual",2021-12-17T11:44:53.713Z"
},
| "timestamp":"2021-12-13T09:01:10.065Z"}, {valuetype": "operational/safety/component",
" | typeoperational/safety/componentunitconflicts/errors/points/collisionspomoutput2021-12-17T11:44:53.713Z",
" | pomtactual2021-12-17T11:44:53.713Z",
" | timestamp13T090110065Z,{"value":"","type":"operational/safety/component",
unitpercentagepomioutputoperational/safety/component",
" | pomtestimatedtimestamp2021-12-13T09:01:10.065Zcomputingtime2021-12-13T09:01:10.065Zforecasttime13T090110065Z],"duration":[ { tic40codeidtype": "operational/safety/component",
" | tic40codename",conflicts/errors/points/collisions",
"pom": "output",
"pomt": "actual",
| "unit": "second,
"13T090110065Z,"value":"" }], "counter": [
{ tic40codeidtype": "operational/safety/component",
" | tic40codenameunit": "percentage",
"pom": " | outputactualestimated",
"timestamp": "2021-12- | 13T090110065Zvalue": "",
"starttimestamp"computingtime": "2021-12- | 13T090110065Zendtimestamp13T090110065Ztotalcounterduration": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-12- | 13T090110065Z713Z",
"value": ""
}
],
" | timercounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
" | unitsecond2021-12-17T11:44:53.713Z",
" | timestamp2021-12-13T09:01:10.065Z",
valuestarttimestamp": "2021-12-17T11:44:53.713Z",
" | starttimestamp13T090110065Z",endtimestamp "2021-12-13T09:01:10.065Z"
[
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": "",
"starttimestamp": "2021-12-17T11:44:53.713Z",
"endtimestamp": "2021-12-17T11:44:53.713Z"
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": ""
}
]
},
"error": {
"errormessage": [
{
"timestamp": "2021-12-17T11:44:53.713Z",
"value": "",
"description": "",
"expectedvalue": "",
"actualvalue": "",
"tic40codeid": "",
"tic40codename": "",
"mcode": ""
}
]
},
"warning": {
"event": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": false,
"oldvalue": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
| }],totaltimer": [2021-12-17T11:44:53.713Z",
| {tic40codeidtic40codenamepomoutputpomtactualunitsecondtimestamp2021-12-13T09:01:10.065Z","value":""}]},error{errormessage[ {namepomt": "actual",
"timestamp": "2021-12- | 13T090110065Zdescriptionexpectedvaluemcodetic40codeidtic40codename }]}warningstatus[ {tic40codeidtic40codenamepom"output"2021-12-17T11:44:53.714Z",
" | pomtactualtimestampstarttimestamp": "2021-12- | 13T090110065Zvaluefalse"2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | durationtotalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z714Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | countertimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z714Z",
"value": "",
"starttimestamp": "2021-12- | 13T090110066Z714Z",
"endtimestamp": "2021-12- | 13T090110066Z714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | totalcountertotaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z714Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
]
},
"fault": {
| ], timerevent": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z""starttimestamp"2021-12-13T09:01:10.066Z",
"endtimestamp":2021-12-13T09:01:10.066Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | totaltimerstatus": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z""false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": | ""
}
]},"fault": {statusduration": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Zfalse"",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | durationcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z""",
"starttimestamp": "2021-12-17T11:44:53.714Z",
"endtimestamp": "2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | countertotalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Zstarttimestamp2021-12-13T09:01:10.066Zendtimestamp2021-12-13T09:01:10.066Zmcodespncodefmicodeseverity,"description":"","reaction":""}],"totalcounter":[ {tic40codeidtic40codenamepomoutput2021-12-17T11:44:53.714Z",
" | pomtactualtimestampstarttimestamp": "2021-12- | 13T090110066Zvalueendtimestamp": "2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | timertotaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Zvalue": "",
"starttimestamp": "2021-12-13T09:01:10.066Z",
"endtimestamp": "2021-12-13T09:01:10.066Zvalue": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
] | , "totaltimer": [ tic40codeid"","tic40codename":"", pomoutputpomtactualtimestamp2021-12-13T09:01:10.066Zvaluemcodetimestamp": "2021-12-17T11:44:53.714Z",
" | spncode""fmicode""severitydescription
"reaction": ""}],"interlock": { ],
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe | /mechanical/logical",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z715Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"duration": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z715Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"counter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110066Z715Z",
"value": "",
"starttimestamp": "2021-12- | 13T090110066Z715Z",
"endtimestamp": "2021-12- | 13T090110066Z715Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"totalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110067Z715Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110067Z715Z",
"value": "",
"starttimestamp": "2021-12- | 13T090110067Z715Z",
"endtimestamp": "2021-12- | 13T090110067Z715Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T090110067Z715Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
]
}
}
]
}
]
} |
| |