示例#1
0
 public NetworkController(MachineStatus initialStatus)
 {
     status     = initialStatus;
     connection = new TcpClient("169.254.211.1", 23);
     ns         = connection.GetStream();
     updateMachineStatus();
 }
示例#2
0
 public NetworkController(MachineStatus initialStatus)
 {
     status = initialStatus;
     connection = new TcpClient("169.254.211.1", 23);
     ns = connection.GetStream();
     updateMachineStatus();
 }
示例#3
0
        public MainWindow()
        {
            InitializeComponent();
            StatusText.Text = "System starting...";

            status        = new MachineStatus();
            netController = new NetworkController(status);
            updateStatusText();
        }