function ApDetail($date, $stationid) { $obj = new Psys_StationRule(); return $obj->ApDetail($date, $stationid); }