|
Last change
on this file since 19285 was 14537, checked in by tbretz, 13 years ago |
|
Updated to a fully working version (still missing: access to all agilents)
|
|
File size:
569 bytes
|
| Line | |
|---|
| 1 | #ifndef FACT_HeadersAgilent
|
|---|
| 2 | #define FACT_HeadersAgilent
|
|---|
| 3 |
|
|---|
| 4 | namespace Agilent
|
|---|
| 5 | {
|
|---|
| 6 | namespace State
|
|---|
| 7 | {
|
|---|
| 8 | enum states_t
|
|---|
| 9 | {
|
|---|
| 10 | kDisconnected = 1,
|
|---|
| 11 | kConnected,
|
|---|
| 12 | kVoltageOff,
|
|---|
| 13 | kVoltageLow,
|
|---|
| 14 | kVoltageOn,
|
|---|
| 15 | kVoltageHigh,
|
|---|
| 16 | };
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | struct Data
|
|---|
| 20 | {
|
|---|
| 21 | float fVoltageSet;
|
|---|
| 22 | float fVoltageMeasured;
|
|---|
| 23 |
|
|---|
| 24 | float fCurrentLimit;
|
|---|
| 25 | float fCurrentMeasured;
|
|---|
| 26 |
|
|---|
| 27 | Data() : fVoltageSet(-1), fVoltageMeasured(-1), fCurrentLimit(-1), fCurrentMeasured(-1) { }
|
|---|
| 28 | };
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.