Example #1
0
 public LogProcess(Boolean saveLog, MainSystemForm mainSystemForm)
 {
     mSaveLogfile    = saveLog;
     mMainsystemForm = mainSystemForm;
     netServer       = new UdpCommunction();
     UdpCommunction.OnNetworkReceive += OnNetworkReceive;
 }
Example #2
0
        public WatchdogManager(MainSystemForm mainsystemForm)
        {
            mMainsystemForm        = mainsystemForm;
            watchdogFunctionEnable = false;

            watchDogTh = new Thread(watchDogThread);
        }
Example #3
0
        public SystemManager(MainSystemForm mainSystemForm)
        {
            ThreadStart systemManagerThStart = new ThreadStart(systemManagerThread);

            SystemManagerTh = new Thread(systemManagerThStart);

            mMainsystemForm = mainSystemForm;
            mSerialPort     = new SerialProcess();
        }
Example #4
0
        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);
        }