コード例 #1
0
 /// <summary>
 /// 1개 Address에 대한 값을 10진수로 반환
 /// AB에서는 에러 발생.
 /// </summary>
 /// <param name="intAddress">값</param>
 /// <returns></returns>
 public int GetValue(int intAddress)
 {
     try
     {
         return(clsPLC.GetValue(intAddress.ToString()));
     }
     catch (Exception ex)
     {
         ProcException(ex);
         throw ex;
     }
 }
コード例 #2
0
 public override int GetValue(int intAddress)
 {
     try
     {
         return(clsPLC.GetValue(intAddress));
     }
     catch (Exception ex)
     {
         ProcException(ex);
         throw ex;
     }
 }