Beispiel #1
0
 public BaseResponse <GetDeviceNameForMTNodeResult> GetDeviceNameForMTNode(DeviceNameForMTNodeParameter param)
 {
     if (this.ValidateData <DeviceNameForMTNodeParameter>(param))
     {
         return(utilityManager.GetDeviceNameForMTNode(param));
     }
     else
     {
         BaseResponse <GetDeviceNameForMTNodeResult> result = new BaseResponse <GetDeviceNameForMTNodeResult>();
         result.IsSuccessful = false;
         result.Code         = "001401";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }