You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Text ;
using System.Data ;
using System.IO ;
using System.Reflection ;
using System.Xml.Serialization ;
using ICSharpCode.Core ;
using Mesnac.Basic ;
using Mesnac.Codd.Session ;
using Mesnac.Action.ChemicalWeighing.Entity ;
namespace Mesnac.Action.ChemicalWeighing.ChemicalWeighingPlc
{
/// <summary>
/// 配方下传PLC辅助类
/// </summary>
public class PlcRecipeHelper
{
#region 读取HMI配方查询请求, 并将配方列表写入到PLC
/// <summary>
/// 读取HMI配方查询请求, 并将配方列表写入到PLC
/// </summary>
public static void DownloadRecipeNameListToPLC ( )
{
try
{
bool flag = false ;
List < Int16 > writeDataList = new List < Int16 > ( ) ;
}
catch ( Exception ex )
{
ICSharpCode . Core . LoggingService < PlcPlanHelper > . Error ( "把PLC的计划状态更新至数据库异常: " + ex . Message , ex ) ;
}
finally
{
Global . PublicVar . Instance . LocalPlanIsRefresh = false ;
}
}
# endregion
}
}