/src/opendnp3/cpp/lib/src/gen/objects/Group52.h
Line | Count | Source (jump to first uncovered line) |
1 | | // |
2 | | // _ _ ______ _ _ _ _ _ _ _ |
3 | | // | \ | | | ____| | (_) | (_) | | | | |
4 | | // | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | | |
5 | | // | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | | |
6 | | // | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_| |
7 | | // |_| \_|\___/ |______\__,_|_|\__|_|_| |_|\__, (_|_|_) |
8 | | // __/ | |
9 | | // |___/ |
10 | | // |
11 | | // This file is auto-generated. Do not edit manually |
12 | | // |
13 | | // Copyright 2013-2022 Step Function I/O, LLC |
14 | | // |
15 | | // Licensed to Green Energy Corp (www.greenenergycorp.com) and Step Function I/O |
16 | | // LLC (https://stepfunc.io) under one or more contributor license agreements. |
17 | | // See the NOTICE file distributed with this work for additional information |
18 | | // regarding copyright ownership. Green Energy Corp and Step Function I/O LLC license |
19 | | // this file to you under the Apache License, Version 2.0 (the "License"); you |
20 | | // may not use this file except in compliance with the License. You may obtain |
21 | | // a copy of the License at: |
22 | | // |
23 | | // http://www.apache.org/licenses/LICENSE-2.0 |
24 | | // |
25 | | // Unless required by applicable law or agreed to in writing, software |
26 | | // distributed under the License is distributed on an "AS IS" BASIS, |
27 | | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
28 | | // See the License for the specific language governing permissions and |
29 | | // limitations under the License. |
30 | | // |
31 | | |
32 | | #ifndef OPENDNP3_GROUP52_H |
33 | | #define OPENDNP3_GROUP52_H |
34 | | |
35 | | #include "opendnp3/app/GroupVariationID.h" |
36 | | #include <ser4cpp/container/SequenceTypes.h> |
37 | | #include "opendnp3/app/DNPTime.h" |
38 | | |
39 | | namespace opendnp3 { |
40 | | |
41 | | // Time Delay - Coarse |
42 | | struct Group52Var1 |
43 | | { |
44 | 0 | static GroupVariationID ID() { return GroupVariationID(52,1); } |
45 | | |
46 | | Group52Var1(); |
47 | | |
48 | 2.10k | static size_t Size() { return 2; } |
49 | | static bool Read(ser4cpp::rseq_t&, Group52Var1&); |
50 | | static bool Write(const Group52Var1&, ser4cpp::wseq_t&); |
51 | | |
52 | | uint16_t time; |
53 | | }; |
54 | | |
55 | | // Time Delay - Fine |
56 | | struct Group52Var2 |
57 | | { |
58 | 1 | static GroupVariationID ID() { return GroupVariationID(52,2); } |
59 | | |
60 | | Group52Var2(); |
61 | | |
62 | 2.99k | static size_t Size() { return 2; } |
63 | | static bool Read(ser4cpp::rseq_t&, Group52Var2&); |
64 | | static bool Write(const Group52Var2&, ser4cpp::wseq_t&); |
65 | | |
66 | | uint16_t time; |
67 | | }; |
68 | | |
69 | | |
70 | | } |
71 | | |
72 | | #endif |