//xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx public CDevIRGA2(FTCPserver Prnt) : base(Prnt) { iBeginData = 0; FormatsInterfer[0] = Format2; FormatsInterfer[1] = Format3; FormatsInterfer[2] = Format4; FormatsInterfer[3] = Format5; FormatsInterfer[4] = Format6; FormatsInterfer[5] = Format8; FormatsInterfer[6] = Format9; }
//xxxxxxxxxxxxxxxxxxxxx П Е Р Е М Е Н Н Ы Е xxxxxxxxxxxxxxxxxxxxxxx //xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx public CDevUFG_F(FTCPserver Prnt) : base(Prnt) { iBeginData = 0; uiDateArchBeg = Global.DateTimeAsInt(new DateTime(2019, 5, 29, 5, 0, 0)); int iNumEv = 0; int CodeEv = 0; DateTime DTalarm = DateTime.Now.AddMonths(-2); //(-(QUANT_EV + 1)); uiDateArchAlarmBeg = Global.DateTimeAsInt(DTalarm); int[] CodePar = { 0, 0, 1, 0x40, 4098, 4143, 0, 0, 1, 2, 1, 2, 1, 3, 1, 3, 1, 5, 1, 7, 0, 1, 5, 3, 2, 4, 1, 2, 3 }; for (int i = 0; i < QUANT_EV; i++) { oRows[i] = new TRowAlarm(iNumEv++, CodeEv++, DTalarm, CodePar[i], ushort.MaxValue); DTalarm = DTalarm.AddMinutes(1); } }
//xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx public CDevMAG(FTCPserver Prnt) : base(Prnt) { iBeginData = (int)EResponseTCP.AddrSlave; }
//xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx public CDevMAG(FTCPserver Prnt) : base(Prnt) { iBeginData = 0; // (int)EHeadMOD_TCP.AddrSlave; }
//xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx public CDevVympel(FTCPserver Prnt) : base(Prnt) { iBeginData = 0; uiDateArchBeg = Global.DateTimeAsInt(DateTime.Now.AddDays(-10)); }
//xxxxxxxxxxxxxxxxxxxxx П О С Т О Я Н Н Ы Е xxxxxxxxxxxxxxxxxxxxxxx //xxxxxxxxxxxxxxxxxxxxx П Е Р Е М Е Н Н Ы Е xxxxxxxxxxxxxxxxxxxxxxx //xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx public CDevEK270(FTCPserver Prnt) : base(Prnt) { iBeginData = (int)MODBUS3_RESP.RegStartH; uiDateArchBeg = Global.DateTimeAsInt(new DateTime(2017, 4, 24, 5, 0, 0)); }
//xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx //public CTCPdevice () //{ // if (Parent == null) // throw new SystemException ("Не задан родитель."); //} ////_________________________________________________________________________ public CTCPdevice(FTCPserver Prnt) { Parent = Prnt; CreateBufTX(null); }
//xxxxxxxxxxxxxxxxxxxxx П О С Т О Я Н Н Ы Е xxxxxxxxxxxxxxxxxxxxxxx //xxxxxxxxxxxxxxxxxxxxx П Е Р Е М Е Н Н Ы Е xxxxxxxxxxxxxxxxxxxxxxx //xxxxxxxxxxxxxxxxxxxxxxxx К О Д xxxxxxxxxxxxxxxxxxxxxxxxxxxxx public CDevSitransCV(FTCPserver Prnt) : base(Prnt) { iBeginData = 0; uiDateArchBeg = Global.DateTimeAsInt(new DateTime(2018, 2, 1, 5, 0, 0)); }