public string NewGameResult(String str_Win, String str_dataperiod, ref bool NewResult, String JShiShiCaiMode, String jusrpar, String GameTime) { WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode ssm = JsonConvert.DeserializeObject <WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode>(JShiShiCaiMode); WeixinRobotLib.Entity.Linq.ProgramLogic.UserParam usrpar = JsonConvert.DeserializeObject <WeixinRobotLib.Entity.Linq.ProgramLogic.UserParam>(jusrpar); try { WeixinRobotLib.Linq.ProgramLogic.NewGameResult(str_Win, str_dataperiod, ref NewResult, ssm, usrpar, GameTime); //if (NewResult == true) //{ // var AllUsers = Membership.GetAllUsers(); // foreach (MembershipUser itemuser in AllUsers) // { // WeixinRobotLib.Linq.ProgramLogic.DrawChongqingshishicai(ssm, (Guid)itemuser.ProviderUserKey); // } //} return("OK"); } catch (Exception AnyError) { return(AnyError.Message); } }
public static WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode GetMode(WX_UserReply dr) { WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.未知; if (dr.ChongqingMode == true ) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.重庆时时彩; } else if (dr.FiveMinuteMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.五分彩; } else if (dr.HkMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.香港时时彩; } else if (dr.AozcMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.澳洲幸运5; } else if (dr.TengXunWuFenMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾讯五分; } else if (dr.TengXunShiFenMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾讯十分; } else if (dr.VRMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.VR重庆时时彩; } else if (dr.XinJiangMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.新疆时时彩; } else if (dr.TengXunShiFenXinMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾十信; } else if (dr.TengXunWuFenXinMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾五信; } else if (dr.HeNeiWuFenMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.河内五分; } return(subm); }
public static WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode GetMode(DataRow dr) { WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.未知; if (dr.Field <Boolean>("User_ChongqingMode") == true ) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.重庆时时彩; } else if (dr.Field <Boolean>("User_FiveMinuteMode") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.五分彩; } else if (dr.Field <Boolean>("User_HkMode") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.香港时时彩; } else if (dr.Field <Boolean>("User_AozcMode") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.澳洲幸运5; } else if (dr.Field <Boolean>("User_TengXunWuFen") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾讯五分; } else if (dr.Field <Boolean>("User_TengXunShiFen") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾讯十分; } else if (dr.Field <Boolean>("User_VR") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.VR重庆时时彩; } else if (dr.Field <Boolean>("User_XinJiangShiShiCai") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.新疆时时彩; } else if (dr.Field <Boolean>("User_TengXunShiFenXin") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾十信; } else if (dr.Field <Boolean>("User_TengXunWuFenXin") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾五信; } else if (dr.Field <Boolean>("User_HeNeiWuFen") == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.河内五分; } return(subm); }
public static WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode GetMode(WeixinRobotLib.Entity.Linq.WX_PCSendPicSetting dr) { WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.未知; if (dr.ChongqingMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.重庆时时彩; } else if (dr.FiveMinuteMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.五分彩; } else if (dr.HkMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.香港时时彩; } else if (dr.AozcMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.澳洲幸运5; } else if (dr.Tengxunshifen == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾讯十分; } else if (dr.Tengxunwufen == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾讯五分; } else if (dr.TengxunshifenXin == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾十信; } else if (dr.TengxunwufenXin == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾五信; } else if (dr.HeNeiWuFenMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾五信; } else if (dr.HeNeiWuFenMode == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.腾五信; } else if (dr.VRChongqing == true) { subm = WeixinRobotLib.Entity.Linq.ProgramLogic.ShiShiCaiMode.VR重庆时时彩; } return(subm); }