Пример #1
0
 /// <summary>
 /// 通过轴承厂商编号,获取轴承型号信息
 /// </summary>
 /// <returns></returns>
 public BaseResponse <BearResult> GetBearingByFactoryID(GetBearingByFactoryIDParameter param)
 {
     if (this.ValidateData <GetBearingByFactoryIDParameter>(param))
     {
         return(utilityManager.GetBearingByFactoryID(param));
     }
     else
     {
         BaseResponse <BearResult> result = new BaseResponse <BearResult>();
         result.IsSuccessful = false;
         result.Code         = "001511";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }