Class CbusBasicNodeTableFetch

    • Method Detail

      • startUrgentFetch

        public void startUrgentFetch()
        Notify the table that the Node data fetch is more urgent
      • setUrgentNode

        protected void setUrgentNode​(int nodeNum)
        Notify the table that the Node data fetch is more urgent
        Parameters:
        nodeNum - the Node to prioritise in the fetch
      • setUrgentFetch

        public void setUrgentFetch​(int nodenum,
                                   int urgentNodeBefore,
                                   int urgentNodeAfter)
        Fetch data in order of priority based on what user is currently viewing
        Parameters:
        nodenum - number of Node to prioritise in the fetch
        urgentNodeBefore - number of the Node in main table row above
        urgentNodeAfter - number of the Node in main table row below
      • triggerUrgentFetch

        public void triggerUrgentFetch()
        Request the table send the next urgent fetch
      • startBackgroundFetch

        public void startBackgroundFetch()
        Starts background fetching for all table data as per user prefs Call whenever a node has been added to table or node edited
      • sendNextBackgroundFetch

        protected void sendNextBackgroundFetch()
        Send the next parameter request, ev var request or nv request. Triggered from either background or active fetch. Triggers loading the node backup xml file Triggers the check for node data fetch complete The order of the fetch changes depending on If node is a Command station If a node is currently selected in a node table pane The node above or below the currently selected row If event or nv tab is displayed in a node table pane Default order is Params 0,1,3,6,5,7,2, event total, remaining parameters, NVs, event index, event vars.