Anonymous
Deserialization JSON -файл с несколькими объектами, из которых есть несколько субъектов C# [закрыто]
Сообщение
Anonymous » 11 июн 2025, 14:26
Мой предыдущий вопрос о том, что библиотека программирования C ++ .net J2534 была закрыта, поэтому я поменялся на C#, что я нашел хорошую библиотеку для использования. Файл. < /p>
Каждый объект имеет возможные 2 субъекта, тогда для каждого из них может быть довольно много в диапазоне от 10 до 40. < /p>
Вот файл json: < /p>
Код: Выделить всё
{
"VehiclePlattform": {
"Configuration": [
{
"Bus": [
{
"Node": {
"_Address": "00",
"_Name": "NON Not Configured ECU LS",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
"_Name": "CAN MS",
"_BusType": "0",
"_SamplePoint": "68",
"_SWDLProtocol": "CAN",
"_BaudRate": "125",
"_CANIdBitSize": "29",
"_Enabled": "1"
},
{
"Node": [
{
"_Address": "00",
"_Name": "NON Not Configured ECU HS",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "11",
"_Name": "ECM - Engine Control Module, diesel",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "12",
"_Name": "ETM - Electronic Trottle Module"
},
{
"_Address": "50",
"_Name": "CDM - Can and Driver Information Module",
"_MasterECU": "1",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "6E",
"_Name": "TCM - Transmission Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "7A",
"_Name": "ECM - Engine Control Module, petrol",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
}
],
"_Name": "CAN HS",
"_BusType": "1",
"_SamplePoint": "68",
"_SWDLProtocol": "CAN",
"_BaudRate": "250",
"_CANIdBitSize": "29",
"_Enabled": "1"
}
],
"_Name": "P80"
},
{
"Bus": [
{
"Node": [
{
"_Address": "00",
"_Name": "NON Not Configured ECU MS",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "18",
"_Name": "CPM - Combustion Preheater Module ->P1010A",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "1F",
"_Name": "CPM - Combustion Preheater Module P1010A->",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "23",
"_Name": "TRM - Trailer Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "29",
"_Name": "CCM - Climat Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "2D",
"_Name": "KVM - Keyless Vehicle Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "2E",
"_Name": "PSM - Power Seat Module, left/driver",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "2F",
"_Name": "PSM - Power Seat Module, right",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "40",
"_Name": "CEM - Central Electronic Module (PJB micro B)",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "42",
"_Name": "CRM - Convertible Roof Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "43",
"_Name": "DDM - Driver Door Module, front",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "45",
"_Name": "PDM - Passenger Door Module, front",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "46",
"_Name": "REM - Rear Electronic Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "47",
"_Name": "UEM - Upper Electronic Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "49",
"_Name": "SWM - Steering Wheel Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "51",
"_Name": "DIM - Driver Information Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "52",
"_Name": "AEM - Accessories Electronic Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "54",
"_Name": "ICM - Infotainment Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "58",
"_Name": "SRS - Airbag",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "60",
"_Name": "AUM - Audio Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "62",
"_Name": "RTI - Road Traffic Information",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "63",
"_Name": "PAM - Parking Assist Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "64",
"_Name": "PHM - Phone Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "65",
"_Name": "ATM - Antenna Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "66",
"_Name": "MMM - Multi Media Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "68",
"_Name": "SUB - Sub Woofer",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "69",
"_Name": "MP1 - Media Player 1",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "6A",
"_Name": "MP2 - Media Player 2",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "6D",
"_Name": "AUD - Audio Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "71",
"_Name": "RDAR - Digital Audio Radio System",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "72",
"_Name": "GPS - Global Positioning System",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "73",
"_Name": "TMC - Traffic Message Channel Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "74",
"_Name": "AFM - Am/Fm Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "75",
"_Name": "IAM - Integrated Audio Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "7B",
"_Name": "AUU - Accessory USB Unit",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "7C",
"_Name": "BPM - Bluetooth Phone Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "FF",
"_Name": "IGM - Infotainment Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
}
],
"_Name": "CAN MS",
"_BusType": "0",
"_SamplePoint": "60",
"_SWDLProtocol": "CAN",
"_BaudRate": "125",
"_CANIdBitSize": "29",
"_Enabled": "1"
},
{
"Node": [
{
"_Address": "00",
"_Name": "NON Not Configured ECU HS",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "01",
"_Name": "BCM - Brake Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "0B",
"_Name": "ADM - Additive Dosing Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "11",
"_Name": "ECM - Engine Control Module, diesel",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "12",
"_Name": "ETM - Electronic Trottle Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "1A",
"_Name": "DEM - Differential Electronic Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "20",
"_Name": "SUM - Suspension Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "28",
"_Name": "SAS - Steering Angle Sensor",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "30",
"_Name": "EPS - Electrical Power Steering",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "49",
"_Name": "SWM - Steering Wheel Module P1x",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "50",
"_Name": "CEM - Central Electronic Module (PJB micro A)",
"_MasterECU": "1",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "6E",
"_Name": "TCM - Transmission Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "70",
"_Name": "HCM - Headlamp Control Module",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
},
{
"_Address": "7A",
"_Name": "ECM - Engine Control Module, petrol",
"_ORGTimeout": "9000",
"_ERASETimeout": "9000",
"_CSTimeout": "9000",
"_PBLTimeout": "9000"
}
],
"_Name": "CAN HS",
"_BusType": "1",
"_SamplePoint": "80",
"_SWDLProtocol": "CAN",
"_BaudRate": "500",
"_CANIdBitSize": "29",
"_Enabled": "1"
}
],
"_Name": "P1x (D2) - Elsys 1"
},
Моя цель, через списки DOWM DOWM, состоит в том, чтобы выбрать, какую платформу транспортного средства, затем узел (скорость соединения), затем конкретный модуль, с которым я хочу поговорить, выбрав сетевой адрес. /> < /p>
Возможно ли, что кто -то может направить меня, это немного над моей головой, но я люблю учиться кодировать. Я не хочу, чтобы кто -то написал мой код, просто дайте образцы, с которыми я могу работать, чтобы изучить во время завершения моего проекта. Не все подключения доступны на всех платформах. < /P>
Спасибо
mike < /p>
Подробнее здесь:
https://stackoverflow.com/questions/796 ... sub-object
1749641204
Anonymous
Мой предыдущий вопрос о том, что библиотека программирования C ++ .net J2534 была закрыта, поэтому я поменялся на C#, что я нашел хорошую библиотеку для использования. Файл. < /p> Каждый объект имеет возможные 2 субъекта, тогда для каждого из них может быть довольно много в диапазоне от 10 до 40. < /p> Вот файл json: < /p> [code]{ "VehiclePlattform": { "Configuration": [ { "Bus": [ { "Node": { "_Address": "00", "_Name": "NON Not Configured ECU LS", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, "_Name": "CAN MS", "_BusType": "0", "_SamplePoint": "68", "_SWDLProtocol": "CAN", "_BaudRate": "125", "_CANIdBitSize": "29", "_Enabled": "1" }, { "Node": [ { "_Address": "00", "_Name": "NON Not Configured ECU HS", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "11", "_Name": "ECM - Engine Control Module, diesel", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "12", "_Name": "ETM - Electronic Trottle Module" }, { "_Address": "50", "_Name": "CDM - Can and Driver Information Module", "_MasterECU": "1", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "6E", "_Name": "TCM - Transmission Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "7A", "_Name": "ECM - Engine Control Module, petrol", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" } ], "_Name": "CAN HS", "_BusType": "1", "_SamplePoint": "68", "_SWDLProtocol": "CAN", "_BaudRate": "250", "_CANIdBitSize": "29", "_Enabled": "1" } ], "_Name": "P80" }, { "Bus": [ { "Node": [ { "_Address": "00", "_Name": "NON Not Configured ECU MS", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "18", "_Name": "CPM - Combustion Preheater Module ->P1010A", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "1F", "_Name": "CPM - Combustion Preheater Module P1010A->", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "23", "_Name": "TRM - Trailer Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "29", "_Name": "CCM - Climat Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "2D", "_Name": "KVM - Keyless Vehicle Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "2E", "_Name": "PSM - Power Seat Module, left/driver", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "2F", "_Name": "PSM - Power Seat Module, right", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "40", "_Name": "CEM - Central Electronic Module (PJB micro B)", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "42", "_Name": "CRM - Convertible Roof Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "43", "_Name": "DDM - Driver Door Module, front", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "45", "_Name": "PDM - Passenger Door Module, front", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "46", "_Name": "REM - Rear Electronic Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "47", "_Name": "UEM - Upper Electronic Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "49", "_Name": "SWM - Steering Wheel Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "51", "_Name": "DIM - Driver Information Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "52", "_Name": "AEM - Accessories Electronic Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "54", "_Name": "ICM - Infotainment Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "58", "_Name": "SRS - Airbag", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "60", "_Name": "AUM - Audio Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "62", "_Name": "RTI - Road Traffic Information", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "63", "_Name": "PAM - Parking Assist Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "64", "_Name": "PHM - Phone Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "65", "_Name": "ATM - Antenna Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "66", "_Name": "MMM - Multi Media Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "68", "_Name": "SUB - Sub Woofer", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "69", "_Name": "MP1 - Media Player 1", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "6A", "_Name": "MP2 - Media Player 2", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "6D", "_Name": "AUD - Audio Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "71", "_Name": "RDAR - Digital Audio Radio System", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "72", "_Name": "GPS - Global Positioning System", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "73", "_Name": "TMC - Traffic Message Channel Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "74", "_Name": "AFM - Am/Fm Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "75", "_Name": "IAM - Integrated Audio Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "7B", "_Name": "AUU - Accessory USB Unit", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "7C", "_Name": "BPM - Bluetooth Phone Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "FF", "_Name": "IGM - Infotainment Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" } ], "_Name": "CAN MS", "_BusType": "0", "_SamplePoint": "60", "_SWDLProtocol": "CAN", "_BaudRate": "125", "_CANIdBitSize": "29", "_Enabled": "1" }, { "Node": [ { "_Address": "00", "_Name": "NON Not Configured ECU HS", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "01", "_Name": "BCM - Brake Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "0B", "_Name": "ADM - Additive Dosing Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "11", "_Name": "ECM - Engine Control Module, diesel", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "12", "_Name": "ETM - Electronic Trottle Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "1A", "_Name": "DEM - Differential Electronic Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "20", "_Name": "SUM - Suspension Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "28", "_Name": "SAS - Steering Angle Sensor", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "30", "_Name": "EPS - Electrical Power Steering", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "49", "_Name": "SWM - Steering Wheel Module P1x", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "50", "_Name": "CEM - Central Electronic Module (PJB micro A)", "_MasterECU": "1", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "6E", "_Name": "TCM - Transmission Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "70", "_Name": "HCM - Headlamp Control Module", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" }, { "_Address": "7A", "_Name": "ECM - Engine Control Module, petrol", "_ORGTimeout": "9000", "_ERASETimeout": "9000", "_CSTimeout": "9000", "_PBLTimeout": "9000" } ], "_Name": "CAN HS", "_BusType": "1", "_SamplePoint": "80", "_SWDLProtocol": "CAN", "_BaudRate": "500", "_CANIdBitSize": "29", "_Enabled": "1" } ], "_Name": "P1x (D2) - Elsys 1" }, [/code] Моя цель, через списки DOWM DOWM, состоит в том, чтобы выбрать, какую платформу транспортного средства, затем узел (скорость соединения), затем конкретный модуль, с которым я хочу поговорить, выбрав сетевой адрес. /> < /p> Возможно ли, что кто -то может направить меня, это немного над моей головой, но я люблю учиться кодировать. Я не хочу, чтобы кто -то написал мой код, просто дайте образцы, с которыми я могу работать, чтобы изучить во время завершения моего проекта. Не все подключения доступны на всех платформах. < /P> Спасибо mike < /p> Подробнее здесь: [url]https://stackoverflow.com/questions/79661894/deserialising-json-file-with-multiple-objects-of-which-have-multiple-sub-object[/url]