public bool SavePLCParameter(T_PlcParameter Param) { var obj = this.mapper.Insert("SavePLCParameter", Param); //var rows=(Int16)obj; return(true); }
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)); }
bool IPlcParameterService.SavePLCParameter(T_PlcParameter PP) { throw new NotImplementedException(); }
bool IPlcParameterDao.SavePLCParameter(T_PlcParameter PP) { var count = mapper.Insert("SavePLCParameter", PP) as Int32?; return(count.HasValue && count.Value > 0); }