Aiming at the key technique of the criterion for tankful water of train,we design a self-adapt control system based on development and design of configurable software.The system works in two steps.In manual step the system's valves is operated by human being while the system automatically records the water pressure at the same time.Through several practice,the system can come into the automatic control step.The system can gather data of water pressure in different complex conditions when the solenoid valves are shut.On the basis of academic data,we can use experience data to optimize criterion that the water tank is full,so as to make the system more adaptive.