MTConnect.NET-JSON
5.4.4
See the version list below for details.
dotnet add package MTConnect.NET-JSON --version 5.4.4
NuGet\Install-Package MTConnect.NET-JSON -Version 5.4.4
<PackageReference Include="MTConnect.NET-JSON" Version="5.4.4" />
paket add MTConnect.NET-JSON --version 5.4.4
#r "nuget: MTConnect.NET-JSON, 5.4.4"
// Install MTConnect.NET-JSON as a Cake Addin #addin nuget:?package=MTConnect.NET-JSON&version=5.4.4 // Install MTConnect.NET-JSON as a Cake Tool #tool nuget:?package=MTConnect.NET-JSON&version=5.4.4
MTConnect.NET-JSON
MTConnect.NET-JSON is an extension library to MTConnect.NET that provides reading and writing as JSON formatted Response Documents
Devices
MTConnectDevicesResponse documents are formatted as shown below.
Examples
Example
{
"header": {
"instanceId": 1675796631,
"version": "5.0.0.0",
"sender": "DESKTOP-HV74M4N",
"bufferSize": 150000,
"assetBufferSize": 1000,
"assetCount": 2,
"deviceModelChangeTime": "2023-02-07T19:03:51.4276271Z",
"creationTime": "2023-02-07T20:59:56.063869Z"
},
"devices": [
{
"id": "OKUMA.Lathe",
"type": "Device",
"name": "OKUMA-Lathe",
"uuid": "OKUMA.Lathe.123456",
"description": {
"manufacturer": "OKUMA",
"model": "LB3000",
"serialNumber": "3216549771",
"value": "Okuma MT Connect Adapter - Lathe"
},
"dataItems": [
{
"category": "EVENT",
"id": "L2avail",
"type": "AVAILABILITY",
"name": "avail"
}
],
"components": [
{
"id": "L2ct1",
"type": "Controller",
"name": "Controller",
"dataItems": [
{
"category": "EVENT",
"id": "L2estop",
"type": "EMERGENCY_STOP",
"name": "estop"
}
],
"components": [
{
"id": "L2p1",
"type": "Path",
"name": "path",
"dataItems": [
{
"category": "EVENT",
"id": "L2p1mode",
"type": "CONTROLLER_MODE",
"name": "p1mode"
}
]
}
]
}
]
}
]
}
Observations
MTConnectStreamsResponse documents are formatted as shown below.
Examples
- Streams
- ValueObservation
- ConditionObservation
- DataSetObservation
- TableObservation
- TimeSeriesObservation
Example
{
"header": {
"InstanceId": 1675796631,
"Version": "5.0.0.0",
"Sender": "DESKTOP-HV74M4N",
"BufferSize": 150000,
"FirstSequence": 1,
"LastSequence": 138,
"NextSequence": 139,
"DeviceModelChangeTime": "2023-02-07T19:03:51.4276271Z",
"CreationTime": "2023-02-07T20:54:26.7903092Z"
},
"streams": [
{
"name": "OKUMA-Lathe",
"uuid": "OKUMA.Lathe.123456",
"componentStream": [
{
"component": "Path",
"componentId": "L2p1",
"name": "path",
"samples": [
{
"dataItemId": "L2p1Fact",
"name": "p1Fact",
"type": "PATH_FEEDRATE",
"subType": "ACTUAL",
"timestamp": "2023-02-07T19:03:51.4064826Z",
"sequence": 38,
"result": "UNAVAILABLE"
},
],
"events": [
{
"dataItemId": "L2p1mode",
"name": "p1mode",
"type": "CONTROLLER_MODE",
"timestamp": "2023-02-07T20:58:08.739602Z",
"sequence": 139,
"result": "AUTOMATIC"
}
],
"condition": [
{
"level": "WARNING",
"dataItemId": "L2p1system",
"name": "p1system",
"type": "SYSTEM",
"timestamp": "2023-02-07T20:30:16.8639659Z",
"sequence": 137,
"result": "Not Found",
"nativeCode": "404"
},
{
"level": "FAULT",
"dataItemId": "L2p1system",
"name": "p1system",
"type": "SYSTEM",
"timestamp": "2023-02-07T20:30:38.9662297Z",
"sequence": 138,
"result": "Interval Error",
"nativeCode": "500"
}
]
}
]
}
]
{
Assets
MTConnectAssetsResponse documents are formatted as shown below.
Examples
Example
{
"header": {
"InstanceId": 1675796631,
"Version": "5.0.0.0",
"Sender": "DESKTOP-HV74M4N",
"AssetBufferSize": 1000,
"AssetCount": 2,
"DeviceModelChangeTime": "2023-02-07T19:03:51.4276271Z",
"CreationTime": "2023-02-07T21:07:46.4658671Z"
},
"assets": [
{
"assetId": "tool.2",
"type": "CuttingTool",
"timestamp": "2023-02-07T19:04:19.8594137Z",
"deviceUuid": "OKUMA.Lathe.123456",
"serialNumber": "1",
"toolId": "KSSP300R4SD43L240",
"manufacturers": "KMT,Parlec",
"cuttingToolLifeCycle": {
"cutterStatus": [
"NEW"
],
"toolLife": {
"type": "PART_COUNT",
"countDirection": "UP",
"limit": 10
},
"programToolNumber": "1",
"connectionCodeMachineSide": "CV50",
"measurements": [
{
"type": "BodyDiameterMax",
"value": 73.25,
"units": "MILLIMETER",
"code": "BDX"
},
{
"type": "OverallToolLength",
"value": 323.86,
"units": "MILLIMETER",
"code": "OAL",
"maximum": 324.104,
"minimum": 323.596,
"nominal": 323.85
},
{
"type": "UsableLengthMax",
"value": 82.55,
"units": "MILLIMETER",
"code": "LUX",
"nominal": 82.55
},
{
"type": "CuttingDiameterMax",
"value": 76.262,
"units": "MILLIMETER",
"code": "DC",
"maximum": 76.213,
"minimum": 76.187,
"nominal": 76.2
},
{
"type": "BodyLengthMax",
"value": 222.259,
"units": "MILLIMETER",
"code": "LBX",
"maximum": 222.504,
"minimum": 222.004,
"nominal": 222.25
},
{
"type": "DepthOfCutMax",
"value": 62.383,
"units": "MILLIMETER",
"code": "APMX",
"nominal": 60.96
}
]
}
},
{
"assetId": "file.patrick2",
"type": "File",
"timestamp": "2023-02-07T21:11:21.3576018Z",
"deviceUuid": "OKUMA.Lathe.123456",
"name": "file-123.txt",
"mediaType": "text/plain",
"applicationCategory": "DEVICE",
"applicationType": "DATA",
"size": 123456,
"versionId": "test-v1",
"state": "PRODUCTION",
"fileLocation": {
"href": "C:\\temp\\file-123.txt"
},
"creationTime": "2022-06-16T14:23:46.4347597Z"
}
]
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- MTConnect.NET-Common (>= 5.4.4)
-
.NETFramework 4.6.1
- MTConnect.NET-Common (>= 5.4.4)
- System.Text.Json (>= 6.0.1)
-
.NETFramework 4.6.2
- MTConnect.NET-Common (>= 5.4.4)
- System.Text.Json (>= 6.0.1)
-
.NETFramework 4.7
- MTConnect.NET-Common (>= 5.4.4)
- System.Text.Json (>= 6.0.1)
-
.NETFramework 4.7.1
- MTConnect.NET-Common (>= 5.4.4)
- System.Text.Json (>= 6.0.1)
-
.NETFramework 4.7.2
- MTConnect.NET-Common (>= 5.4.4)
- System.Text.Json (>= 6.0.1)
-
.NETFramework 4.8
- MTConnect.NET-Common (>= 5.4.4)
- System.Text.Json (>= 6.0.1)
-
.NETStandard 2.0
- MTConnect.NET-Common (>= 5.4.4)
- System.Text.Json (>= 6.0.1)
-
net5.0
- MTConnect.NET-Common (>= 5.4.4)
-
net6.0
- MTConnect.NET-Common (>= 5.4.4)
-
net7.0
- MTConnect.NET-Common (>= 5.4.4)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on MTConnect.NET-JSON:
Package | Downloads |
---|---|
MTConnect.NET
MTConnect.NET is a fully featured .NET library for MTConnect Agents, Adapters, and Clients. Supports MTConnect Versions up to 2.3. Supports .NET Framework 4.6.1 up to .NET 8 |
|
MTConnect.NET-MQTT
MTConnect.NET-MQTT implements the MQTT Protocol for use with the MTConnect.NET library. Supports MTConnect Versions up to 2.3. Supports .NET Framework 4.6.1 up to .NET 8 |
|
MTConnect.NET-Applications-Agents
MTConnect.NET-Applications-Agents contains classes to fully implement an MTConnect Agent application. Supports MTConnect Versions up to 2.3. Supports .NET Framework 4.6.1 up to .NET 8 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.5.0 | 389 | 10/21/2024 |
6.4.7 | 910 | 8/21/2024 |
6.4.6 | 576 | 8/7/2024 |
6.4.5 | 275 | 8/2/2024 |
6.4.4 | 501 | 7/16/2024 |
6.4.3 | 518 | 6/14/2024 |
6.4.2 | 387 | 6/12/2024 |
6.4.1 | 563 | 5/17/2024 |
6.4.0 | 323 | 5/14/2024 |
6.3.2-beta | 273 | 5/2/2024 |
6.3.1-beta | 443 | 4/24/2024 |
6.3.0-beta | 290 | 4/17/2024 |
6.2.2-beta | 288 | 4/5/2024 |
6.2.1-beta | 300 | 4/3/2024 |
6.2.0-beta | 299 | 3/27/2024 |
6.1.3-beta | 317 | 3/15/2024 |
6.1.2-beta | 302 | 3/15/2024 |
6.0.11-beta | 551 | 2/2/2024 |
6.0.10-beta | 466 | 1/26/2024 |
6.0.9-beta | 548 | 12/28/2023 |
6.0.8-beta | 567 | 12/27/2023 |
6.0.7-beta | 565 | 12/19/2023 |
6.0.5-beta | 646 | 12/14/2023 |
6.0.3-beta | 685 | 12/12/2023 |
6.0.1-beta | 727 | 12/7/2023 |
5.4.4 | 3,458 | 6/6/2023 |
5.4.3 | 2,495 | 5/20/2023 |
5.4.1 | 1,401 | 3/28/2023 |
5.4.0 | 1,502 | 3/20/2023 |
5.3.0 | 1,161 | 3/14/2023 |
5.2.0 | 1,283 | 3/5/2023 |
5.1.0 | 1,329 | 3/3/2023 |
5.0.0 | 3,398 | 2/3/2023 |
4.6.0 | 1,729 | 11/28/2022 |
4.5.0 | 1,839 | 10/18/2022 |