コード例 #1
0
        public Sms()
        {
            string config = System.Configuration.ConfigurationManager.AppSettings["Sms"];

            if (string.IsNullOrEmpty(config) || config == "SHPMSG")
            {
                msg = new SOSOshop.MSG.SHPMSG();
            }
            else if (config == "TMSG")
            {
                msg = new SOSOshop.MSG.TMSG();
            }
            else if (config == "YMSG")
            {
                msg = new SOSOshop.MSG.YMSG();
            }
        }
コード例 #2
0
 public Sms()
 {
     msg = new SOSOshop.MSG.DZMSG();
     //msg = new SOSOshop.MSG.SHPMSG();
 }