/src/opendnp3/cpp/lib/src/gen/objects/Group51.h
Line | Count | Source |
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_GROUP51_H |
33 | | #define OPENDNP3_GROUP51_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 and Date CTO - Absolute time, synchronized |
42 | | struct Group51Var1 |
43 | | { |
44 | 0 | static GroupVariationID ID() { return GroupVariationID(51,1); } |
45 | | |
46 | | Group51Var1(); |
47 | | |
48 | 3.08k | static size_t Size() { return 6; } |
49 | | static bool Read(ser4cpp::rseq_t&, Group51Var1&); |
50 | | static bool Write(const Group51Var1&, ser4cpp::wseq_t&); |
51 | | |
52 | | DNPTime time; |
53 | | }; |
54 | | |
55 | | // Time and Date CTO - Absolute time, unsynchronized |
56 | | struct Group51Var2 |
57 | | { |
58 | 0 | static GroupVariationID ID() { return GroupVariationID(51,2); } |
59 | | |
60 | | Group51Var2(); |
61 | | |
62 | 2.09k | static size_t Size() { return 6; } |
63 | | static bool Read(ser4cpp::rseq_t&, Group51Var2&); |
64 | | static bool Write(const Group51Var2&, ser4cpp::wseq_t&); |
65 | | |
66 | | DNPTime time; |
67 | | }; |
68 | | |
69 | | |
70 | | } |
71 | | |
72 | | #endif |