天津投入产出系统后端
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.

33 lines
902 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QMAPP.FJC.TRACING.DataAnalyzers
{
/// <summary>
/// 门板中插翻边设备模具号信息解析类
/// </summary>
public class DPCAFormingMNAnalyzer : DAInterface.IDataAnalyzer
{
public void Analyze(DAInterface.DAObject data)
{
string[] str_messages = data.DAValue.ToString().Split(':');
data.AnalyzedValue = str_messages[1];
switch (data.AnalyzedValue)
{
case "HIGH_MOULD":
{
data.MaterialName = "高配";
break;
}
case "BASE_MOULD":
{
data.MaterialName = "低配";
break;
}
}
}
}
}