Example #1
0
        public bool SavePLCParameter(T_PlcParameter Param)
        {
            var obj = this.mapper.Insert("SavePLCParameter", Param);

            //var rows=(Int16)obj;
            return(true);
        }
Example #2
0
        bool IPlcBjParamService.SaveAsJson <T>(T TObj)
        {
            var dbObj = new T_PlcParameter();

            dbObj.CreateAt = DateTime.Now;
            dbObj.KeyId    = typeof(T).Name;
            dbObj.JsonVal  = SKABO.Common.Utils.JsonUtil.ToJsonStr(TObj);
            return(this.plcDAO.SavePLCParameter(dbObj));
        }
Example #3
0
 bool IPlcParameterService.SavePLCParameter(T_PlcParameter PP)
 {
     throw new NotImplementedException();
 }
Example #4
0
        bool IPlcParameterDao.SavePLCParameter(T_PlcParameter PP)
        {
            var count = mapper.Insert("SavePLCParameter", PP) as Int32?;

            return(count.HasValue && count.Value > 0);
        }