Exemplo n.º 1
0
        private void ResetResult()
        {
            DateTime now = DateTime.Now;

            for (int i = 0; i < 60; i++)
            {
                RackResultRecordList[i].PartID         = string.Empty;
                RackResultRecordList[i].IsPass         = string.Empty;
                RackResultRecordList[i].ServerID       = string.Empty;
                RackResultRecordList[i].ReportFileName = string.Empty;
                RackResultRecordList[i].RptFileName    = string.Empty;
                RackResultRecordList[i].ReportFilePath = string.Empty;
                RackResultRecordList[i].MeasDateTime   = now;
                RackResultRecordList[i].PartNumber     = string.Empty;
            }
            ResultView.Invalidate();
        }