Reading Multiple Channels

I am trying to read two channels of data, temperature and current. I am able to read data individually but I am unable to to get both reading at the same time. I think my device code is correct its the agent code I am having trouble with. Can any one look at the agent code and device code to shed some light on my problem

Thanks