예제 #1
0
        public SpcData getAllAlarm()
        {
            SpcData alarmItem = new SpcData();

            for (int i = Data.Count - 1; i >= 0; i--)
            {
                SpcDataItem item = Data[i];
                if (item.AlarmType != "")
                {
                    alarmItem.Add(item);
                }
            }
            return(alarmItem);
        }
예제 #2
0
        public SpcData orderItem()
        {
            SpcData orderItem = new SpcData();

            for (int i = Data.Count - 1; i >= 0; i--)
            {
                SpcDataItem item = Data[i];
                orderItem.Add(item);
                //SpcDataItem item = new SpcDataItem();
                //item.Idx = Data[i].Idx;
                //item.ShiJian = Data[i].ShiJian;
                //item.HeatId = Data[i].HeatId;
                //item.steelgradeindex = Data[i].steelgradeindex;
                //item.AlarmType = Data[i].AlarmType;
                //item.YuanYin = Data[i].YuanYin;
                //item.GaiJin = Data[i].GaiJin;
                //item.Guid = Data[i].Guid;
                //item.AnaItem = Data[i].AnaItem;
                //item.AnaType = Data[i].AnaType;
                //item.X = Data[i].X;
                //item.R = Data[i].R;
                //item.USL = Data[i].USL;
                //item.LSL = Data[i].LSL;
                //item.AvgX = Data[i].AvgX;
                //// item.Sd = Data[i].Sd;
                //item.USLX = Data[i].USLX;
                //item.LSLX = Data[i].LSLX;
                //item.MR = Data[i].MR;

                //item.USLR = Data[i].USLR;
                //item.LSLR = Data[i].LSLR;
                //item.Cp = Data[i].Cp;
                //item.Cpk = Data[i].Cpk;
                //item.Pp = Data[i].Pp;
                //item.Ppk = Data[i].Ppk;
                //orderItem.Add(item);
            }
            return(orderItem);
        }