public static NotificationParameters Deserialise(Stream stream)
        {
            NotificationParameters result = new NotificationParameters();

            result.MinimumPeriod = IPCHelper.ReadInt32Nullable(stream);
            result.MaximumPeriod = IPCHelper.ReadInt32Nullable(stream);
            result.GreaterThan   = IPCHelper.ReadDoubleNullable(stream);
            result.LessThan      = IPCHelper.ReadDoubleNullable(stream);
            result.Step          = IPCHelper.ReadDoubleNullable(stream);
            return(result);
        }