public override int GetHashCode()
 {
     unchecked
     {
         int result = (FunctionType != null ? FunctionType.GetHashCode() : 0);
         result = (result * 397) ^ (FunctionNameKey != null ? FunctionNameKey.GetHashCode() : 0);
         result = (result * 397) ^ (InputKeys != null ? InputKeys.GetHashCode() : 0);
         result = (result * 397) ^ (OutputKeys != null ? OutputKeys.GetHashCode() : 0);
         return(result);
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     return(DeviceAddress.GetHashCode() ^ InputKeys.GetHashCode() ^ SensorTime.GetHashCode());
 }