Esempio n. 1
0
        ///// <summary>
        ///// 実接続ボード種
        ///// </summary>
        //public DataCommon.ChannelKindType[]  RealChannelKindList
        //{
        //    get { return _RealChannelKindList; }
        //}

        /// <summary>
        /// コンストラクタ
        /// </summary>
        private CommunicationMonitor()
        {
            //Simulatorモードの場合は生成しない。
            if (SystemSetting.SystemConfig.IsSimulationMode)
                return;

            comm = CommunicationRM3000.GetInstance();

            //通信クラスイベントのメソッド登録
            comm.ExecuteCommandMethod = new CommRM3000.ExecuteCommandHander(ExcuteCommand);
            comm.ReserveDataMethod = new CommRM3000.ReserveDataHander(ReserveData);
        }
Esempio n. 2
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        private TestSequence()
        {
            Mode = ModeType.Non;
            TestStatus = TestStatusType.Stop;

            L_ZeroSettingRequestNo = -1;

            //接続のインスタンスの生成
            if(comm == null)
                comm = new CommRM3000();

            //緊急停止時イベント
            comm.OnEmergencyStop += new CommRM3000.EmergencyStopHandler(comm_OnEmergencyStop);
        }