using com.andoutomo.kybernetes.command.template; namespace com.andoutomo.kybernetes.command.Control { class ChAreaCommandArg:StandardCommandArg { public string nextTimeArea { get; private set; } protected override void split() { if (splitData.Length == 2) { isValid = false; return; } string targetArea = splitData[2]; if (System.Text.RegularExpressions.Regex.IsMatch(targetArea, "[a-zA-Z]")) { nextTimeArea = targetArea.ToUpper(); isValid = true; } else { isValid = false; } } } }