Exemple #1
0
        public bool TryStringToAcs(string Str)
        {
            Str = Str.ToLower();
            bool OK = false;

            for (int i = 1; i < AcsString.Length - 1 && !OK; i++)
            {
                if (Str == AcsString[i].ToLower())
                {
                    Acs = (EnumAcs)i;
                    OK  = true;
                }
            }
            if (!OK)
            {
                Acs = EnumAcs.None;
            }
            return(OK);
        }
Exemple #2
0
 public SAcs(EnumAcs acs = EnumAcs.None)
 {
     Acs = acs;
 }