private void btn_d_ecc_Click(object sender, EventArgs e) { EquipmentConstantChangeReport report = new EquipmentConstantChangeReport(); report.EquipmentStatus = _equipmentInfo.EquipmentStatus; report.ECIDLIST = (new Func <ECIDDatas>(() => { ECIDDatas eciddataList = new ECIDDatas(); eciddataList.Add(new ECIDDatas() { ECID = "005", ECV = "10", }); eciddataList.Add(new ECIDDatas() { ECID = "006", ECV = "10", }); eciddataList.Add(new ECIDDatas() { ECID = "007", ECV = "10", }); return(eciddataList); })()); cimClient?.LaunchEquipmentConstantChangeReportProcess(report); }
/// <summary> /// Equipment Constants data report /// </summary> /// <param name="report"></param> /// <returns></returns> public bool LaunchEquipmentConstantChangeReportProcess(EquipmentConstantChangeReport report) { var dc = scenarioControllers[Scenarios.Data_Collection] as DataCollection; return(dc.LaunchEquipmentConstantChangeReportProcess(report)); }