Пример #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>();
        }
Пример #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>();
        }