数据 输入输出 处理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

39 lines
909 B

package consumers
func GetConsumer(name string) (consumer IConsumer) {
switch name {
case "consumerCQZG": //重庆资管
consumer = new(consumerCQZG)
case "consumerHTJC": //湖南湘潭
consumer = new(consumerHTJC)
case "consumerMYX": //明月峡
consumer = new(consumerMYX)
case "consumerCDJYSN": //明月峡
consumer = new(consumerCDJYSN)
case "consumerWJHP": //魏家滑坡-视觉位移(光电扰度)
consumer = new(consumerWJHP)
case "consumerGZGZM": //工迅-广州高支模平台
consumer = new(consumerGZGZM)
case "consumerAXYraw": //工迅-广州高支模平台
consumer = new(consumerAXYraw)
case "consumerJSNCGLQL": //工迅-广州高支模平台
consumer = new(consumerJSNCGLQL)
case "consumerHttpProxy":
consumer = new(consumerHttpProxy)
case "consumerSinoGnssMySQL":
consumer = new(consumerSinoGnssMySQL)
default:
consumer = nil
}
return consumer
}