Beispiel #1
0
        public string[] GetValues(int id)
        {
            string[] SimArray;
            switch (id)
            {
            case 1: SimArray = SR.GetAllReg();
                break;

            case 2: SimArray = SR.RobotInfo();
                break;

            default: SimArray = new [] { "Fault" };
                break;
            }
            return(SimArray);
        }