00001
00002
00003 #ifndef EEdsm1Tree_h
00004 #define EEdsm1Tree_h
00005
00006
00007
00008
00009 #include <stdlib.h>
00010 #include <stdio.h>
00011 #include <string.h>
00012 class EEdsm1;
00013
00014 class EEdsm1Tree {
00015
00016 public:
00017 enum { Nee1=2, Nee1BoardInpCha=6, mxTxt=16};
00018
00019 private:
00020 EEdsm1 *ee1;
00021 char name[mxTxt];
00022 int mYear;
00023
00024 public:
00025
00026 EEdsm1Tree(const char *);
00027 void setYear(int x, int *JPth, int TPthrSelc, int HTTPthrSelc);
00028 ~EEdsm1Tree();
00029 void print(int k=0) const;
00030 void clear();
00031 void compute();
00032 int getNboards() const { return Nee1;}
00033
00034
00035 void setInp16bit(int brd, int ch, ushort val);
00036 int getInpTPsum(int ch ) const;
00037 int getInpHT2bit(int ch ) const;
00038 int getInpTP2bit(int ch ) const;
00039 int getInpHTTP2bit(int ch ) const;
00040 int getInp16bit(int ch ) const;
00041
00042
00043 int getOutEsum5bit(int ibr) const;
00044 int getOutHTTP1bit(int ibr) const;
00045 int getOutTP1bit(int ibr) const;
00046 int getOutJP2bit(int ibr) const;
00047 int getOutHT2bit(int ibr) const;
00048 int getOut16bit(int ibr) const;
00049
00050 };
00051
00052 #endif
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073