using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DataLinkMesWork;
using System.Security.Cryptography;
//using SystemFramework;

namespace bizFacade
{
    public class MES_MachineManage
    {
        /// <summary>
        /// [设备管理_设备维护记录表_增加]
        /// </summary>
        /// <param name="opName">工位号</param>
        /// <param name="beizhu">备注</param>
        /// <returns></returns>
        public static bool Mes_MachineTakeCare_Insert(string opName, string mark)
        {
            string produceName = "设备管理_设备维护记录表_增加";
            SqlParameter[] thisParms = new SqlParameter[2];
            thisParms[0] = new System.Data.SqlClient.SqlParameter("@工位号", opName);
            thisParms[1] = new System.Data.SqlClient.SqlParameter("@备注", mark);
            return DataAccess.ExecuteStoredProcedure(produceName, ref thisParms);
        }
    }
}
