You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.4 KiB
59 lines
2.4 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Collections;
|
|
|
|
namespace ICSSoft.Frame.Common
|
|
{
|
|
public class OperationListFactory
|
|
{
|
|
private const int OPControl_Length = 14;
|
|
private const string Default_OpControl = "00000000000000";
|
|
|
|
public OperationListFactory()
|
|
{
|
|
}
|
|
|
|
//public virtual void CreateOperationListColumns(GridHelper gridHelper)
|
|
//{
|
|
// gridHelper.AddCheckBoxColumn("OP_componentloading", "上料工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_testing", "测试工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_idtranslate", "序号转换工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_packing", "包装工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_oqc", "OQC工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_ts", "维修工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_spc", "SPC工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_deduct", "扣料工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_midistoutput", "中间产量工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_midistinput", "中间投入工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_ComponentDown", "下料工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_BurnIn", "Burn In工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_BurnOut", "Burn Out工序", false, null);
|
|
// gridHelper.AddCheckBoxColumn("OP_Offline", "下线工序", false, null);
|
|
|
|
|
|
//}
|
|
|
|
public virtual string[] CreateOperationListColumnsHead()
|
|
{
|
|
ArrayList heads = new ArrayList();
|
|
heads.Add("OP_componentloading");
|
|
heads.Add("OP_testing");
|
|
heads.Add("OP_idtranslate");
|
|
heads.Add("OP_packing");
|
|
heads.Add("OP_oqc");
|
|
heads.Add("OP_ts");
|
|
heads.Add("OP_spc");
|
|
heads.Add("OP_deduct");
|
|
heads.Add("OP_midistoutput");
|
|
heads.Add("OP_midistinput");
|
|
heads.Add("OP_ComponentDown");
|
|
heads.Add("OP_BurnIn");
|
|
heads.Add("OP_BurnOut");
|
|
heads.Add("OP_Offline");
|
|
return (string[])heads.ToArray(typeof(string));
|
|
}
|
|
|
|
}
|
|
}
|