Beispiel #1
0
        public MCPBRData(MCSettingsRecord rec)
        {
            Item            = rec.PiramidaCode;
            PointName       = rec.EDSPoint;
            SmoothPointName = rec.EDSPointSmooth;
            Logger.Info(rec.EDSPoint);
            DataSettings = rec;

            Data       = new SortedList <DateTime, double>();
            DataHH     = new SortedList <DateTime, double>();
            DataSmooth = new SortedList <DateTime, double>();
        }
Beispiel #2
0
        public MCPBRData(MCSettingsRecord rec)
        {
            Item            = rec.PiramidaCode;
            PointName       = rec.EDSPoint;
            PointNameMin    = rec.EDSPointMin;
            PointNameMax    = rec.EDSPointMax;
            SmoothPointName = rec.EDSPointSmooth;
            Logger.Info(rec.EDSPoint);
            DataSettings = rec;

            ReadPBR   = rec.ReadPBR;
            ReadNPRCH = rec.ReadNPRCH;

            Data       = new SortedList <DateTime, double>();
            DataMin    = new SortedList <DateTime, double>();
            DataMax    = new SortedList <DateTime, double>();
            DataHH     = new SortedList <DateTime, double>();
            DataNPRCH  = new SortedList <DateTime, double>();
            DataSmooth = new SortedList <DateTime, double>();
        }