mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
JAVA: Unified Java Example names
Unified all Java examples to *match* <LIBRARY>[_otherstuf]_Example.java. Note, a handful of the examples have a pseudo-random string for the first component (see FlexSensor_Example.java, ideally this would be Flex_Example.java). This commit allows for quick development on a single sensor library since a -DMODULE_LIST=mysensorlib now works with Java examples (previously Java examples would fail generation when using MODULE_LIST). * Renamed examples * Updated class names * Updated library descriptor .json files * Updated sample mapping file TODO: Make this work like the C/C++ examples - grab the target library name from the filename and grab all dependencies from that target library. Fix the handful of example names which don't conform. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -1,38 +1,38 @@
|
||||
{
|
||||
"Library": "h803x",
|
||||
"Description": "UPM API for the Veris H803X Energy Meter",
|
||||
"Sensor Class":
|
||||
{
|
||||
"H803X":
|
||||
{
|
||||
"Name": "Veris H803X Energy Meter Module",
|
||||
"Description": "The H8036 is similar to the H8035, but provides much more data. The Enercept H8035/H8036 is an innovative three-phase networked (Modbus RTU) power transducer that combines electronics and high accuracy industrial grade CTs in a single package. The need for external electrical enclosures is eliminated, greatly reducing installation time and cost. Color-coordination between voltage leads and CTs makes phase matching easy. Additionally, these transducers automatically detect and compensate for phase reversal, eliminating the concern of CT load orientation. Up to 63 Transducers can be daisy-chained on a single RS-485 network. This module was developed using libmodbus 3.1.2, and the H8035. The H8036 has not been tested. libmodbus 3.1.2 must be present for this module to build. It was developed using an RS232->RS485 interface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full Serial RS232->RS485 or USB-RS485 interface connected via USB.",
|
||||
"Aliases": ["h803x"],
|
||||
"Categories": ["energy", "electric"],
|
||||
"Connections": ["uart"],
|
||||
"Project Type": ["prototyping"],
|
||||
"Manufacturers": ["veris"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["H803X_Example.java"],
|
||||
"Python": ["h803x.py"],
|
||||
"Node.js": ["h803x.js"],
|
||||
"C++": ["h803x.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "VAC", "low": 208, "high": 480},
|
||||
"Operating Current": {"unit": "A", "max": 2400},
|
||||
"Operating Temperature": {"unit": "degC", "low": 0, "high": 60}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["http://www.veris.com/Item/H8035-0100-2.aspx"],
|
||||
"Datasheets": ["http://www.veris.com/docs/Datasheets/H803x_d0117.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "h803x",
|
||||
"Description": "UPM API for the Veris H803X Energy Meter",
|
||||
"Sensor Class":
|
||||
{
|
||||
"H803X":
|
||||
{
|
||||
"Name": "Veris H803X Energy Meter Module",
|
||||
"Description": "The H8036 is similar to the H8035, but provides much more data. The Enercept H8035/H8036 is an innovative three-phase networked (Modbus RTU) power transducer that combines electronics and high accuracy industrial grade CTs in a single package. The need for external electrical enclosures is eliminated, greatly reducing installation time and cost. Color-coordination between voltage leads and CTs makes phase matching easy. Additionally, these transducers automatically detect and compensate for phase reversal, eliminating the concern of CT load orientation. Up to 63 Transducers can be daisy-chained on a single RS-485 network. This module was developed using libmodbus 3.1.2, and the H8035. The H8036 has not been tested. libmodbus 3.1.2 must be present for this module to build. It was developed using an RS232->RS485 interface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full Serial RS232->RS485 or USB-RS485 interface connected via USB.",
|
||||
"Aliases": ["h803x"],
|
||||
"Categories": ["energy", "electric"],
|
||||
"Connections": ["uart"],
|
||||
"Project Type": ["prototyping"],
|
||||
"Manufacturers": ["veris"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["H803X_Example.java"],
|
||||
"Python": ["h803x.py"],
|
||||
"Node.js": ["h803x.js"],
|
||||
"C++": ["h803x.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "VAC", "low": 208, "high": 480},
|
||||
"Operating Current": {"unit": "A", "max": 2400},
|
||||
"Operating Temperature": {"unit": "degC", "low": 0, "high": 60}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["http://www.veris.com/Item/H8035-0100-2.aspx"],
|
||||
"Datasheets": ["http://www.veris.com/docs/Datasheets/H803x_d0117.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user