NAME

C3000 - A perl wrap for C3000 API This is a simple wrap of C3000 API. For more details, please refer to: meter2cash CONVERGE Business Objects Component Interfaces User Guide

VERSION

Version 0.01

SYNOPSIS

use C3000;
my $hl = C3000->new();
my $value = $hl->accu_LP('ADAS_VAL_RAW', '%', '+A', 'yesterday', 'today');
my $value = $hl->get_single_LP('ADAS_VAL_RAW', '%', '+A', 'yesterday');

Methods

new

init sub

get_LP

my $rs = get_LP(....);
while(!$rs->EOF){ 
	...
$rs->MoveNext();
}

return a recordset of LoadProfile low function, just ignore it.

save_LP

accu_LP

	return a accumulation value of LoadProfile

	$hl->accu_LP('%', '+A', $dt_yesterday, $dt_today);

	$hl->accu_LP('%', '+A', $dt_yesterday, $dt_today);
	 

search_device

return a recordset of device info fitting criteria 
low function, please refer test file for more details.

convert_VT_DATE

C3000 utils, pass to a DateTime obj and return a VT_DATE variable.

search_meter_by_proxyattr

return a ref of ADAS_ID

AUTHOR

Andy Xiao, <xyf.gmail.com>

BUGS

Please report any bugs or feature requests to bug-c3000 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=C3000. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

TODO

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Andy Xiao.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.