Arduino for monitoring a remote solar powered router volts/current/thermal/light

and also the map function, would it look more like this the??

int analogVal = analogRead(Pin);
Voltage = map(analogVal,0,255,0,1000);