An endoscope system comprising: (a) an endoscope with a control body, an insertion portion, a first user interface and a plurality of channels, (i) wherein the channels include at least one of a gas feeding channel, a water feeding channel and a suction channel; (b) a valve control unit to which the endoscope is connected comprising: (i) one or more electrical valves to control flow through at least one of the gas feeding channel, the water feeding channel and the suction channel, wherein the first user interface controls valve functions, via the valve control unit, of at least one of the gas feeding, the water feeding and the suction; (c) a surgeon console unit (SCU) arranged distant from and connected to the valve control unit, the SCU including a second user interface, wherein the second user interface controls valve functions, via the valve control unit, of at least one of the gas feeding, the water feeding and the suction; (d) a priority control module connected to the valve control unit for processing one or more control signals from the first user interface and the second user interface based on a predetermined priority, wherein the control signals are transmitted, via the valve control unit, to control the corresponding electrical valves; characterised in that the system further comprises: (e) an endoscope docking system connected to the priority control module and the endoscope, the endoscope docking system comprising a docking detection sensor configured to sense an endoscope docking status such that a plurality of priorities are determined based on the endoscope docking status, the plurality of priorities determining control of the valve functions from the first user interface, the second user interface or both. (a) an endoscope with a control body, an insertion portion, a first user interface and a plurality of channels, (i) wherein the channels include at least one of a gas feeding channel, a water feeding channel and a suction channel; (i) wherein the channels include at least one of a gas feeding channel, a water feeding channel and a suction channel; (b) a valve control unit to which the endoscope is connected comprising: (i) one or more electrical valves to control flow through at least one of the gas feeding channel, the water feeding channel and the suction channel, wherein the first user interface controls valve functions, via the valve control unit, of at least one of the gas feeding, the water feeding and the suction; (i) one or more electrical valves to control flow through at least one of the gas feeding channel, the water feeding channel and the suction channel, wherein the first user interface controls valve functions, via the valve control unit, of at least one of the gas feeding, the water feeding and the suction; (c) a surgeon console unit (SCU) arranged distant from and connected to the valve control unit, the SCU including a second user interface, wherein the second user interface controls valve functions, via the valve control unit, of at least one of the gas feeding, the water feeding and the suction; (d) a priority control module connected to the valve control unit for processing one or more control signals from the first user interface and the second user interface based on a predetermined priority, wherein the control signals are transmitted, via the valve control unit, to control the corresponding electrical valves; <EOS>