package com.bonus.canteen.core.device.mq;

import com.bonus.canteen.core.device.manage.controller.deprecated.vo.MessageConfigVO;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class MacMessageService {
   @Value("${system.mqtt-tcp-address:}")
   private String mqClientAddress;
   @Value("${system.mqtt-websocket-address:}")
   private String mqWebClientAddress;

   public MessageConfigVO getMessageConfig() {
      return new MessageConfigVO(this.mqClientAddress, this.mqWebClientAddress);
   }
}
