Example in the context of the grammar | M | Health data model in JSON format 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-10T14:15:58.731Z"
},
{
"value": false,
"type": "operational/safety/component",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-12-10T14:15:58.731Z",
"computingtime": "2021-12-10T14:15:58.731Z",
"forecasttime": "2021-12-10T14:15:58.731Z"
}
],
"level": [
{
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "conflicts/errors/points/collisions",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-12-10T14:15:58.731Z",
"computingtime": "2021-12-10T14:15:58.731Z",
"forecasttime": "2021-12-10T14:15:58.731Z"
}
]
},
"error": {
"errormessage": [
{
"name": "",
"timestamp": "2021-12-10T14:15:58.731Z",
"expectedvalue": "",
"value": "",
"description": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"tic40codeid": "",
"tic40codename": ""
}
]
},
"warning": {
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"duration": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"counter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"totalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
]
},
"fault": {
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.731Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"duration": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"counter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"totalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
]
},
"interlock": {
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe/mechanical/logical",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"duration": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"counter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"totalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12-10T14:15:58.732Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
]
}
}
]
}
]
} |
Healty example with a che powersource coolant control sensor problem in Json format. 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",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.891Z"
},
{
"value": false,
"type": "component",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-19T16:06:54.891Z",
"computingtime": "2021-11-19T16:06:54.891Z",
"forecasttime": "324",
"forecasttimeunit": "second"
}
],
"level": [
{
"value": "20",
"type": "component",
"unit": "percentage",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.891Z"
},
{
"value": "3654",
"type": "operational",
"unit": "errors",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.891Z"
},
{
"value": "5",
"type": "component",
"unit": "percentage",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-19T16:06:54.891Z",
"computingtime": "2021-11-19T16:06:54.891Z",
"forecasttime": "324",
"forecasttimeunit": "second"
}
]
},
"fault": {
"event": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"unit": "boolean",
"oldvalue": false,
"newvalue": true,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"status": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": true,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"duration": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.sensor",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 1,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"counter": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 32,
"starttimestamp": "2021-11-19T16:05:54.892Z",
"endtimestamp": "2021-11-19T16:06:54.892Z",
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"totalcounter": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 347,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"timer": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 63,
"starttimestamp": "2021-11-19T16:05:54.892Z",
"endtimestamp": "2021-11-19T16:06:54.892Z",
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"totaltimer": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"unit": "hour",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 4.32,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
]
}
}
]
}
]
} |
| |