예제 #1
0
        public string getString(string nType, string nName)
        {
            string result = null;
            uint   type   = GenerateId._runCommon(nType);

            if (mStringTable.ContainsKey(type))
            {
                StringTable stringTable = mStringTable[type];
                result = stringTable.getString(type);
            }
            else
            {
                LogService logService_ =
                    __singleton <LogService> ._instance();

                string logError =
                    string.Format(@"StringService getString:{0}",
                                  nType);
                logService_._logError(logError);
            }
            return(result);
        }
예제 #2
0
 public void _runPreinit()
 {
     mDeviceTypes.Add(GenerateId._runComputer());
     mDeviceTypes.Add(GenerateId._runCellphone());
 }
예제 #3
0
 public uint getType()
 {
     return(GenerateId._runCommon(mType));
 }