public override int GetHashCode() { const int prime = 31; int result = 1; result = prime * result + (_isLearn ? 1231 : 1237); result = prime * result + ((_name == null) ? 0 : _name.GetHashCode()); result = prime * result + ((_parameters == null) ? 0 : _parameters.GetHashCode()); result = prime * result + ((_regions == null) ? 0 : _regions.GetHashCode()); result = prime * result + ((_sensor == null) ? 0 : _sensor.GetHashCode()); return(result); }
public override int GetHashCode() { return(sensor.GetHashCode()); }