Beispiel #1
0
        public void DeletePIPoint(string name)
        {
            var point = GetPIPoint(name);

            if (point != null)
            {
                StandardPIServer.DeletePIPoint(Constants.PIPOINT_CREATE_NAME);
            }
        }
Beispiel #2
0
        public void CreatePIPoint(string name)
        {
            var point = GetPIPoint(name);

            if (point == null)
            {
                IDictionary <string, object> dic = new Dictionary <string, object>();
                dic.Add("descriptor", "Best tag ever!");
                StandardPIServer.CreatePIPoint(name, dic);
            }
        }