16#ifndef _NETSIM_BATTERY_MODEL_H_
17#define _NETSIM_BATTERY_MODEL_H_
22#ifndef _BATTERY_MODEL_CODE_
23#pragma comment(lib,"BatteryModel.lib")
37 double dRechargingCurrent);
void battery_metrics(PMETRICSWRITER metricsWriter)
double battery_get_remaining_energy(ptrBATTERY battery)
ptrBATTERY battery_init_new(NETSIM_ID deviceId, NETSIM_ID interfaceId, double initialEnergy, double voltage, double dRechargingCurrent)
void battery_add_new_mode(ptrBATTERY battery, int mode, double current, char *heading)
bool battery_set_mode(ptrBATTERY battery, int mode, double time)
double battery_get_consumed_energy(ptrBATTERY battery, int mode)
ptrBATTERY battery_find(NETSIM_ID d, NETSIM_ID in)
#define _declspec(dllexport)
This function is used to trigger the update.