数据上报
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.
 
 

27 lines
591 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)
default:
consumer = nil
}
return consumer
}