示例#1
0
        public bool Init()
        {
            //base.Init();

            UpdateHandler = new CUpdateHandler <CAlarmData>(this, "CurrentAlarm", ref _alarmData);
            UpdateHandler.OnUpdateData = new CUpdateHandler <CAlarmData> .UpdateDataHandler(InvokeUpdateData);

            UpdateHandler.Subscribe();

            UpdateMessageHandler = new CUpdateHandler <CListData>(this, "CIMMessage", ref _messageData);
            UpdateMessageHandler.OnUpdateData = new CUpdateHandler <CListData> .UpdateDataHandler(InvokeUpdateMessageData);

            UpdateMessageHandler.Subscribe();

            UpdateMessageHistoryHandler = new CUpdateHandler <CListData>(this, "CIMMessageHistory", ref _messageHistoryData);
            UpdateMessageHistoryHandler.OnUpdateData = new CUpdateHandler <CListData> .UpdateDataHandler(InvokeUpdateMessageHistoryData);

            UpdateMessageHistoryHandler.Subscribe();

            UpdateGlassInfoDisplayHandler = new CUpdateHandler <CGlassInfoDisplayData>(this, "GlassInfoDisplay", ref _glassInfoDisplayData);
            UpdateGlassInfoDisplayHandler.OnUpdateData = new CUpdateHandler <CGlassInfoDisplayData> .UpdateDataHandler(InvokeUpdateGlassData);

            UpdateGlassInfoDisplayHandler.Subscribe();
            return(true);
        }
示例#2
0
        public bool Init()
        {
            //base.Init();
            UpdateMessageHandler = new CUpdateHandler <CListData>(this, "LINKSIGNAL", ref _messageData);
            UpdateMessageHandler.OnUpdateData = new CUpdateHandler <CListData> .UpdateDataHandler(InvokeUpdateMessageData);

            UpdateMessageHandler.Subscribe();
            return(true);
        }
示例#3
0
        public bool Init()
        {
            //base.Init();

            UpdateGlassInfoDisplayHandler = new CUpdateHandler <CGlassInfoDisplayData>(this, "frmGlassDataWHTM", ref _glassInfoDisplayData);
            UpdateGlassInfoDisplayHandler.OnUpdateData = new CUpdateHandler <CGlassInfoDisplayData> .UpdateDataHandler(InvokeUpdateGlassData);

            UpdateGlassInfoDisplayHandler.Subscribe();
            return(true);
        }
示例#4
0
        public override bool Init()
        {
            base.Init();

            UpdateHandler = new CUpdateHandler <CIndexStatusData>(this, "ucIndexStatus", ref _indexStatusData);
            UpdateHandler.OnUpdateData = new CUpdateHandler <CIndexStatusData> .UpdateDataHandler(InvokeUpdateData);

            UpdateHandler.Subscribe();
            return(true);
        }
示例#5
0
        public override bool Init()
        {
            base.Init();

            UpdateHandler = new CUpdateHandler <CTitleData>(this, "ucTitle", ref _titleData);
            UpdateHandler.OnUpdateData = new CUpdateHandler <CTitleData> .UpdateDataHandler(InvokeUpdateData);

            UpdateHandler.Subscribe();
            return(true);
        }
示例#6
0
        public override bool Init()
        {
            base.Init();

            UpdateHandler = new CUpdateHandler <CPortInformationData>(this, "ucPortInformation", ref _portInformationData);
            UpdateHandler.OnUpdateData = new CUpdateHandler <CPortInformationData> .UpdateDataHandler(InvokeUpdateData);

            UpdateHandler.Subscribe();
            return(true);
        }
示例#7
0
        public override bool Init()
        {
            base.Init();

            CUpdateHandler <CRobotStatus> UpdateHandler = null;

            UpdateHandler = new CUpdateHandler <CRobotStatus>(this, "ucRobotStatus", ref _robotStatus);
            UpdateHandler.OnUpdateData = new CUpdateHandler <CRobotStatus> .UpdateDataHandler(InvokeUpdateData);

            UpdateHandler.Subscribe();
            return(true);
        }
示例#8
0
        public override bool Init()
        {
            base.Init();

            CUpdateHandler <CRecipeList> UpdateHandler = null;

            UpdateHandler = new CUpdateHandler <CRecipeList>(this, "ucRecipeStatus", ref _recipeList);
            UpdateHandler.OnUpdateData = new CUpdateHandler <CRecipeList> .UpdateDataHandler(InvokeUpdateData);

            UpdateHandler.Subscribe();
            return(true);
        }
示例#9
0
        public override bool Init()
        {
            base.Init();

            UpdateRecipeHandler = new CUpdateHandler <CRecipeData>(this, "UpdateRecipeData", ref _RecipeData);
            UpdateRecipeHandler.OnUpdateData = new CUpdateHandler <CRecipeData> .UpdateDataHandler(InvokeUpdateRecipeData);

            UpdateRecipeHandler.Subscribe();

            UpdateRecipListHandler = new CUpdateHandler <CRecipeList>(this, "UpdateRecipeList", ref _recipeList);
            UpdateRecipListHandler.OnUpdateData = new CUpdateHandler <CRecipeList> .UpdateDataHandler(InvokeUpdateRecipeList);

            UpdateRecipListHandler.Subscribe();
            return(true);
        }