From: Gregg L. <gr...@li...> - 2006-04-20 03:06:27
|
Hi Jim, Quoting Jim Serack (4/19/06 10:45 PM): > 6) Any other structure ideas? It would be nice to be able to determine if a weather variable/param has changed w/i your weather object. Since state/state_now is mostly useful for scalars and presumably your weather object is much more complex, perhaps add something like $weather_obj->param_now($param_name) that returns a value only if $param_name was set for the current mh "pass". Likewise, perhaps an extension of tie_event, like: $weather_obj->tie_param($param_name, 'code_hook()', $optional_threshold) so that code hooks can be constrained to changes to a param (and might be further constrained by an optional, numeric threshold). ...looking forward to your result and would be happy to test. Gregg |