コード例 #1
0
        public string GetAngle(string msg)
        {
            int index = Msgs.FindIndex(el => el == msg);

            if (index >= 0)
            {
                CurrentIndex = index;
            }
            return(Angles[CurrentIndex]);
        }
コード例 #2
0
        public string GetGroup(string msg)
        {
            int index = Msgs.FindIndex(el => el == msg);

            if (index >= 0)
            {
                CurrentIndex = index;
            }
            return(Groups[CurrentIndex]);
        }
コード例 #3
0
        public double GetValue(string msg)
        {
            int index = Msgs.FindIndex(el => el == msg);

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