public LogProcess(Boolean saveLog, MainSystemForm mainSystemForm) { mSaveLogfile = saveLog; mMainsystemForm = mainSystemForm; netServer = new UdpCommunction(); UdpCommunction.OnNetworkReceive += OnNetworkReceive; }
public WatchdogManager(MainSystemForm mainsystemForm) { mMainsystemForm = mainsystemForm; watchdogFunctionEnable = false; watchDogTh = new Thread(watchDogThread); }
public SystemManager(MainSystemForm mainSystemForm) { ThreadStart systemManagerThStart = new ThreadStart(systemManagerThread); SystemManagerTh = new Thread(systemManagerThStart); mMainsystemForm = mainSystemForm; mSerialPort = new SerialProcess(); }
public NetworkProcess(MainSystemForm mainSystemForm) { mMainsystemForm = mainSystemForm; // For UDP : Datagrame netClient = new ClientCommunication(false); ClientCommunication.OnNetworkReceive += OnNetworkReceive; netServer = new UdpCommunction(); UdpCommunction.OnNetworkReceive += OnNetworkReceive; networkWatchdogFunctionEnable = false; NetworkWatchDogTh = new Thread(NetworkWatchDogThread); }