private void UpdateDevCoilStatus(SysCoilData data) { try { GetDataArry.Md = data.Md; GetDataArry.DI = data.DI; GetDataArry.CtS = data.CtS; GetDataArry.CtClr = data.CtClr; GetDataArry.CtOv = data.CtOv; GetDataArry.Lch = data.Lch; GetDataArry.DO = data.DO; GetDataArry.AIHR = data.AIHR; GetDataArry.AILR = data.AILR; GetDataArry.AIB = data.AIB; GetDataArry.HAlm = data.HAlm; GetDataArry.LAlm = data.LAlm; GetDataArry.GCtClr = data.GCtClr; GetDataArry.LB = data.LB; GetDataArry.ExB = data.ExB; } catch (Exception e) { //OnGetDevHttpRequestError(e); } finally { System.GC.Collect(); } }
public Form1() { InitializeComponent(); ChangeDataArry = new SysCoilData() { Md = 0, DI = 11, CtS = 331, CtClr = 371, CtOv = 411, Lch = 451, DO = 171, AIHR = 1011, AILR = 1111, AIB = 1211, HAlm = 1311, LAlm = 1411, GCtClr = 351, LB = 9999, ExB = 1001, }; ChangeRegDataArry = new SysRegData() { Md = 0, DI = 3011, CtFq = 100, DO = 2301, PsLo = 2001, PsHi = 2401, PsAV = 2601, PsIV = 2801, AI = 3001, HisH = 3101, HisL = 3501, AIF = 3601, HisHF = 3701, HisLF = 3801, AIFl = 4101, AICd = 4201, AICh = 3301, AISc = 3901, AIPF = 1231, AO = 7001, AOFl = 7101, AOCd = 7201, Slew = 7601, AOSu = 7301, AOSe = 7401, AODi = 7501, GCLCt = 1351, GCLFl = 1391, MNm = 1211, Lg = 9999, //for expansion module ExW = 8001, ExBE = 8101, ExWE = 8201, }; }