Example #1
0
        private void PropertyUpdate(DateTime servertime, string category, string pointname, string propname,
                                    string value)
        {
            switch (category)
            {
            case "Logging":
                Data.RemoteClientAppendToLog(pointname, propname, value);
                break;

            case "Trending":
                Data.RemoteClientAppendToTrend(pointname, propname, value);
                break;

            case "Fetching":
                Data.RemoteClientUpdatedRiserNode(pointname, propname, value);
                break;

            default:
                var mess = string.Format("{0}{1}{2}{3}", category, pointname, propname, value);
                foreach (var panel in _panels.Where(panel => panel != null))
                {
                    panel.StatusMessage = mess;
                }
                break;
            }
        }