Steven Blair / rapid61850example
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ied.h Source File

ied.h

00001 /**
00002  * Rapid-prototyping protection schemes with IEC 61850
00003  *
00004  * Copyright (c) 2011 Steven Blair
00005  * 
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010 
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015 
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019  */
00020 
00021 #ifndef IED_H
00022 #define IED_H
00023 
00024 #ifdef __cplusplus /* If this is a C++ compiler, use C linkage */
00025 extern "C" {
00026 #endif
00027 
00028 #include "datatypes.h"
00029 
00030 struct E1Q1SB1 {
00031     struct {
00032         struct {
00033             struct LN0 LLN0;
00034             struct exampleRMXU RMXU_1;
00035             struct LPHDa LPHD_1;
00036             struct CSWIa CSWI_1;
00037             struct CSWIa CSWI_2;
00038             struct MMXUa MMXU_1;
00039             struct TVTRa TVTR_1;
00040         } C1;
00041     } S1;
00042 };
00043 
00044 struct E1Q1BP2 {
00045     struct {
00046     } S1;
00047 };
00048 
00049 struct E1Q1BP3 {
00050     struct {
00051     } S1;
00052 };
00053 
00054 struct E1Q2SB1 {
00055     struct {
00056     } S1;
00057 };
00058 
00059 struct E1Q3SB1 {
00060     struct {
00061     } S1;
00062 };
00063 
00064 struct E1Q3KA1 {
00065     struct {
00066     } S1;
00067 };
00068 
00069 struct E1Q3KA2 {
00070     struct {
00071     } S1;
00072 };
00073 
00074 struct E1Q3KA3 {
00075     struct {
00076     } S1;
00077 };
00078 
00079 struct D1Q1SB1 {
00080     struct {
00081     } S1;
00082 };
00083 
00084 struct D1Q1BP2 {
00085     struct {
00086     } S1;
00087 };
00088 
00089 struct D1Q1BP3 {
00090     struct {
00091     } S1;
00092 };
00093 
00094 struct D1Q1SB4 {
00095     struct {
00096         struct {
00097             struct LN0 LLN0;
00098             struct exampleMMXU MMXU_1;
00099             struct LPHDa LPHD_1;
00100             struct RSYNa RSYN_1;
00101         } C1;
00102     } S1;
00103 };
00104 
00105 
00106 
00107 
00108 extern struct E1Q1SB1 E1Q1SB1;
00109 extern struct E1Q1BP2 E1Q1BP2;
00110 extern struct E1Q1BP3 E1Q1BP3;
00111 extern struct E1Q2SB1 E1Q2SB1;
00112 extern struct E1Q3SB1 E1Q3SB1;
00113 extern struct E1Q3KA1 E1Q3KA1;
00114 extern struct E1Q3KA2 E1Q3KA2;
00115 extern struct E1Q3KA3 E1Q3KA3;
00116 extern struct D1Q1SB1 D1Q1SB1;
00117 extern struct D1Q1BP2 D1Q1BP2;
00118 extern struct D1Q1BP3 D1Q1BP3;
00119 extern struct D1Q1SB4 D1Q1SB4;
00120 
00121 
00122 #ifdef __cplusplus /* If this is a C++ compiler, end C linkage */
00123 }
00124 #endif
00125 
00126 #endif