示例#1
0
        public MainWindow()
        {
            InitializeComponent();
            this.Closing += MainWindow_Closing;
            this.Closed += MainWindow_Closed;

            //ws = new TossServer();
            this.WindowState = WindowState.Minimized;

            relayserver = new RelayService(string.Empty, string.Empty, 21007, Com.Huen.Libs.RunningType.ROONETS);
        }
示例#2
0
        private void CorePMS_Loaded(object sender, RoutedEventArgs e)
        {
            relayservice = new RelayService(util.PBXIP, RunningType.BOTH);
            relayservice.Device2CorePmsEvent += Relayservice_Device2CorePmsEvent;

            this.InitializeData();
        }
示例#3
0
 protected override void OnStart(string[] args)
 {
     server = new RelayService();
 }