|
dnp3
0.9.0
|
Custom request More...
Public Member Functions | |
| Request () | |
| Create a new request More... | |
| void | AddOneByteHeader (Variation variation, byte start, byte stop) |
| Add a one-byte start/stop variation interrogation More... | |
| void | AddTwoByteHeader (Variation variation, ushort start, ushort stop) |
| Add a two-byte start/stop variation interrogation More... | |
| void | AddAllObjectsHeader (Variation variation) |
| Add an all objects variation interrogation More... | |
Static Public Member Functions | |
| static Request | ClassRequest (bool class0, bool class1, bool class2, bool class3) |
| Create a new request asking for classes More... | |
Custom request
Whenever a method takes a request as a parameter, the request is internally copied. Therefore, it is possible to reuse the same requests over and over.
|
inline |
Create a new request
|
inline |
Add an all objects variation interrogation
| variation | Variation to ask for |
|
inline |
Add a one-byte start/stop variation interrogation
| variation | Variation to ask for |
| start | Start index to ask |
| stop | Stop index to ask (inclusive) |
|
inline |
Add a two-byte start/stop variation interrogation
| variation | Variation to ask for |
| start | Start index to ask |
| stop | Stop index to ask (inclusive) |
|
inlinestatic |
Create a new request asking for classes
An identical request can be created manually with Request.AddAllObjectsHeader and variations Variation.Group60Var1, Variation.Group60Var2, Variation.Group60Var3 and Variation.Group60Var4.
| class0 | Ask for class 0 (static data) |
| class1 | Ask for class 1 events |
| class2 | Ask for class 2 events |
| class3 | Ask for class 3 events |
1.8.16