コード例 #1
0
ファイル: PLCHelper.cs プロジェクト: dgiot/dgiot_dtu
        public static PLCHelper GetInstance()
        {
            if (instance == null)
            {
                instance = new PLCHelper();
            }

            return(instance);
        }
コード例 #2
0
        private void Resh_Config()
        {
            MqttClientHelper.Config();
            MqttServerHelper.Config();
            TcpClientHelper.Config();
            TcpServerHelper.Config();
            UDPClientHelper.Config();
            UDPServerHelper.Config();

            SerialPortHelper.Config();
            PLCHelper.Config(config.AppSettings.Settings);
            OPCDAHelper.Config();
            OPCUAHelper.Config(config.AppSettings.Settings);
            AccessHelper.Config(config.AppSettings.Settings);
            SqlServerHelper.Config(config.AppSettings.Settings);
        }