コード例 #1
0
        public FinchControllerModel GetControllerModel(FinchNodeType nodeType)
        {
            string modelName = FinchCore.GetNodeModelNumber(nodeType);

            switch (modelName)
            {
            case "Dash":
                return(FinchControllerModel.Dash);

            case "Shift":
                return(FinchControllerModel.Shift);

            case "Dash M4":
                return(FinchControllerModel.DashM4);

            default:
                return(FinchControllerModel.Unknown);
            }
        }