How to determine the open and closed of the rising gate valve?