Exemplo n.º 1
0
        public string GetAngle(string msg)
        {
            int index = Msgs.FindIndex(el => el == msg);

            if (index >= 0)
            {
                CurrentIndex = index;
            }
            return(Angles[CurrentIndex]);
        }
Exemplo n.º 2
0
        public string GetGroup(string msg)
        {
            int index = Msgs.FindIndex(el => el == msg);

            if (index >= 0)
            {
                CurrentIndex = index;
            }
            return(Groups[CurrentIndex]);
        }
Exemplo n.º 3
0
        public double GetValue(string msg)
        {
            int index = Msgs.FindIndex(el => el == msg);

            if (index >= 0)
            {
                CurrentIndex = index;
            }
            return(Values[CurrentIndex]);
        }