using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace SiemenDevice.Model
|
{
|
public class CDOpcReadItem
|
{
|
/// <summary>
|
/// 3任务号
|
/// </summary>
|
public string ChaiDieName { get; set; }
|
|
/// <summary>
|
/// 3任务号
|
/// </summary>
|
public string EmptyStatus { get; set; }
|
|
|
|
public CDOpcReadItem(string chaidieName)
|
{
|
ChaiDieName = chaidieName;
|
|
switch (chaidieName)
|
{
|
|
case "ChaiDei1":
|
|
EmptyStatus = "DB600.748";
|
break;
|
case "ChaiDei2":
|
EmptyStatus = "DB600.770";
|
break;
|
case "ChaiDei3":
|
|
EmptyStatus = "DB600.792";
|
break;
|
case "ChaiDei4":
|
|
EmptyStatus = "DB600.814";
|
break;
|
}
|
}
|
}
|
}
|