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.
41 lines
987 B
41 lines
987 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using QMAPP.FJC.Entity.Basic;
|
|
using QMAPP.FJC.Entity;
|
|
|
|
namespace OpcHost.Init
|
|
{
|
|
/// <summary>
|
|
/// 初始化生产设备读取
|
|
/// 作者:闫永刚
|
|
/// 日期:2015-05-28
|
|
/// </summary>
|
|
public class MachineInit
|
|
{
|
|
/// <summary>
|
|
/// 初始化生产设备读取动作
|
|
/// </summary>
|
|
public void InitProduceMachine()
|
|
{
|
|
try
|
|
{
|
|
//获取所有的生产设备
|
|
List<MachineInfo> produceMachineList = ParaInit.machineList.Where(o => o.OPERATETYPE == EnumGeter.OPERATETYPE.PRODUCE.GetHashCode().ToString()).ToList<MachineInfo>();
|
|
foreach (var mach in produceMachineList)
|
|
{
|
|
|
|
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
|
|
throw;
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
}
|