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.
59 lines
1.5 KiB
C#
59 lines
1.5 KiB
C#
using Mesnac.Action.ChemicalWeighing.Entity.Report;
|
|
using Mesnac.Equips;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.FinishBatch
|
|
{
|
|
/// <summary>
|
|
/// 存盘业务辅助类
|
|
/// </summary>
|
|
public class FinishBatchHelper
|
|
{
|
|
#region 冠合事件定义
|
|
public static object sender = null;
|
|
public static event EventHandler GHOnUpdatePlanStateFromPlc;
|
|
#endregion
|
|
|
|
#region 小料称量数据存盘
|
|
|
|
/// <summary>
|
|
/// 小料称量数据存盘
|
|
/// </summary>
|
|
public static void SaveData()
|
|
{
|
|
try
|
|
{
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ICSharpCode.Core.LoggingService<FinishBatchHelper>.Error(String.Format("数据存盘异常:{1}", ex.Message), ex);
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
#region 冠合存盘数据保存
|
|
/// <summary>
|
|
/// 冠合存盘数据保存
|
|
/// </summary>
|
|
public static void SaveGHData()
|
|
{
|
|
try
|
|
{
|
|
#region 存盘信号读取
|
|
|
|
#endregion
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ICSharpCode.Core.LoggingService<GHFinshBatchHelper>.Error(String.Format("生产数据存盘异常:{1}", ex.Message), ex);
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|