A web based batch and Scada System