/// <summary> /// 多线程 /// </summary> /// <param name="state"></param> private void SavePlan(object state) { List <Plan> lp = td.ListPlan; foreach (Plan p in lp) { if (p.ucId >= 21 && p.ucId <= 30) { p.usMonthFlag = 8190; p.ulDayFlag = 4294967294; } } TscDataUtils.SetPlanByWeekend(td.Node.sIpAddress, td.Node.iPort, lp); }