예제 #1
0
        public static WorkModeEnum GetWorkMode(string nick)
        {
            WorkModeEnum workMode = HybridHelper.GetValue <WorkModeEnum>(nick, WorkModeHelper._key, WorkModeEnum.Unknown);

            if (workMode == WorkModeEnum.Unknown)
            {
                workMode = WorkModeEnum.NoUse;
            }
            if (workMode == WorkModeEnum.Assist)
            {
            }
            return(workMode);
        }
예제 #2
0
 public static void GetPubDbAccount(string mainNick, string pubDbAccount)
 {
     //TbNickHelper.AssertMainNick(mainNick);
     //TbNickHelper.AssertPubDbAccount(pubDbAccount);
     HybridHelper.GetValue <string>(mainNick, HybridKey.PubDbAccount.ToString(), pubDbAccount);
 }
예제 #3
0
 public static string GetPrvDbAccount(string seller)
 {
     return(HybridHelper.GetValue <string>(seller, HybridKey.PrvDbAccount.ToString(), TbNickHelper.ConvertNickToPrvDbAccount(seller)));
 }
예제 #4
0
 public static void SetWorkMode(string nick, WorkModeEnum mode)
 {
     HybridHelper.Save <WorkModeEnum>(nick, WorkModeHelper._key, mode);
 }