Ejemplo n.º 1
0
        public string GetRedirectBack(string string_0, int int_0, string string_1, string string_2)
        {
            string         text         = "";
            SurveySequence bySequenceID = this.oSurveySequenceDal.GetBySequenceID(string_0, int_0);

            return(bySequenceID.VERSION_ID.ToString());
        }
Ejemplo n.º 2
0
        public void AddSurveySequence(string string_0, int int_0, string string_1, string string_2)
        {
            SurveySequence surveySequence = new SurveySequence();

            surveySequence.SURVEY_ID        = string_0;
            surveySequence.SEQUENCE_ID      = int_0;
            surveySequence.PAGE_ID          = string_1;
            surveySequence.CIRCLE_A_CURRENT = this.CircleACurrent;
            surveySequence.CIRCLE_A_COUNT   = this.CircleACount;
            surveySequence.CIRCLE_B_CURRENT = this.CircleBCurrent;
            surveySequence.CIRCLE_B_COUNT   = this.CircleBCount;
            surveySequence.VERSION_ID       = int.Parse(string_2);
            surveySequence.PAGE_BEGIN_TIME  = new DateTime?(this.PageStartTime);
            surveySequence.PAGE_END_TIME    = new DateTime?(DateTime.Now);
            surveySequence.PAGE_TIME        = (int)(surveySequence.PAGE_END_TIME.Value - surveySequence.PAGE_BEGIN_TIME.Value).TotalSeconds;
            if (surveySequence.PAGE_TIME < 0)
            {
                surveySequence.PAGE_TIME = 0;
            }
            if (this.RecordFileName != "")
            {
                surveySequence.RECORD_FILE       = this.RecordFileName;
                surveySequence.RECORD_START_TIME = new DateTime?(this.RecordStartTime);
                surveySequence.RECORD_BEGIN_TIME = (int)(surveySequence.PAGE_BEGIN_TIME.Value - surveySequence.RECORD_START_TIME.Value).TotalSeconds;
                surveySequence.RECORD_END_TIME   = surveySequence.RECORD_BEGIN_TIME + surveySequence.PAGE_TIME;
            }
            else
            {
                surveySequence.RECORD_START_TIME = new DateTime?(DateTime.Now);
            }
            this.oSurveySequenceDal.UpdateNext(surveySequence);
        }
Ejemplo n.º 3
0
        public SurveySequence GetAudioByPageId(string string_0, int int_0, string string_1)
        {
            string string_2 = "";
            string text     = "0";
            int    num      = int_0;

            if (int_0 == 0)
            {
                string_2 = string.Format(GClass0.smethod_0("7ĦȮ̤Уԋپ܎࠙ऊਏଜఖഔณ༊ဝᄗቲ጗ᐂᔀᘃ᝭᠟᤾ᨸᬿᰭᴾḕἠ‵ℶ∧⌯␣╚☞❪⡴⥾⩨⭼Ⱈⵤ⹣⽧ぢㅶ㉫㍮㑹㕫㘓㜊㡗㤛㩗㬎㰈㵦㹨㽡䀄䅳䉣䍦䑥䕀䙗䝙䠼䤦䨽䭢䰩䵪丱伵偕兝剖匱呃啊噟坘塉奅婉孌屗嵎幂弥怸愽戲挡"), string_0, string_1);
                text     = this.dbprovider_0.ExecuteScalarString(string_2);
                if (text != "" && text != null)
                {
                    num = int.Parse(text);
                }
            }
            SurveySequence result;

            if (num == 0)
            {
                SurveySequence surveySequence = new SurveySequence();
                result = surveySequence;
            }
            else
            {
                string_2 = string.Format(GClass0.smethod_0("\u0014ăȉ́ЀԖ١ݪࠟॸ੯୳౶ച๪ཌྷ၅ᅀቐፍᑠᕗᙀᝅᡊ᥀ᩎᭉᰋᵽṡὭ⁵Ⅳ∅⍷⑶╰♷❥⡆⥁⩔⭘Ⱖⴽ⹢⼨なㄱ㈵㍕㑝㕖㘱㝃㡊㥟㩘㭉㱅㵉㹌㽗䁎䅂䈥䌹䑸䔳䙼"), string_0, num);
                result   = this.GetBySql(string_2);
            }
            return(result);
        }
Ejemplo n.º 4
0
        public SurveySequence GetBySql(string string_0)
        {
            IDataReader    dataReader     = this.dbprovider_0.ExecuteReader(string_0);
            SurveySequence surveySequence = new SurveySequence();

            using (dataReader)
            {
                while (dataReader.Read())
                {
                    surveySequence.ID                = Convert.ToInt32(dataReader[GClass0.smethod_0("KŅ")]);
                    surveySequence.SURVEY_ID         = dataReader["SURVEY_ID"].ToString();
                    surveySequence.SEQUENCE_ID       = Convert.ToInt32(dataReader[GClass0.smethod_0("Xŏɘ͝тՈن݁࡜ो੅")]);
                    surveySequence.PAGE_ID           = dataReader[GClass0.smethod_0("WŇɂ́ќՋم")].ToString();
                    surveySequence.CIRCLE_A_CURRENT  = Convert.ToInt32(dataReader[GClass0.smethod_0("Sņɜ͎рՎٕ݈ࡗॄ੓ୗౖെ์ཕ")]);
                    surveySequence.CIRCLE_A_COUNT    = Convert.ToInt32(dataReader[GClass0.smethod_0("Mńɞ͈цՌ݆࡙ٗॆੋୖౌൕ")]);
                    surveySequence.CIRCLE_B_CURRENT  = Convert.ToInt32(dataReader[GClass0.smethod_0("Sņɜ͎рՎٕ݋ࡗॄ੓ୗౖെ์ཕ")]);
                    surveySequence.CIRCLE_B_COUNT    = Convert.ToInt32(dataReader[GClass0.smethod_0("Mńɞ͈цՌ࡙ٗ݅ॆੋୖౌൕ")]);
                    surveySequence.VERSION_ID        = Convert.ToInt32(dataReader[GClass0.smethod_0("\\Ōɚ͔яՊيݜࡋॅ")]);
                    surveySequence.PAGE_BEGIN_TIME   = new DateTime?(Convert.ToDateTime(dataReader[GClass0.smethod_0("_ŏɊ͉єՈٌݏࡎैਗ਼୐ొ൏ไ")].ToString()));
                    surveySequence.PAGE_END_TIME     = new DateTime?(Convert.ToDateTime(dataReader[GClass0.smethod_0("]ōɌ͏іՍى݂࡚ॐ੊୏ౄ")].ToString()));
                    surveySequence.RECORD_FILE       = dataReader[GClass0.smethod_0("YŏɊ͇ѕՂ݂ٚࡊॎ੄")].ToString();
                    surveySequence.RECORD_START_TIME = new DateTime?(Convert.ToDateTime(dataReader[GClass0.smethod_0("CŕɌ́џՈٔݙ࡝ॉ੕୒ౚ൐๊ཏ၄")].ToString()));
                    surveySequence.RECORD_BEGIN_TIME = Convert.ToInt32(dataReader[GClass0.smethod_0("CŕɌ́џՈ݈ٔࡌॏ੎ୈౚ൐๊ཏ၄")]);
                    surveySequence.RECORD_END_TIME   = Convert.ToInt32(dataReader[GClass0.smethod_0("]ŋɎ̓љՎٖݍࡉूਗ਼୐ొ൏ไ")]);
                    surveySequence.PAGE_TIME         = Convert.ToInt32(dataReader[GClass0.smethod_0("Yʼnɀ̓њՐيݏࡄ")]);
                    surveySequence.SURVEY_GUID       = dataReader[GClass0.smethod_0("Xşɛ͞т՟ٚ݃ࡖो੅")].ToString();
                }
            }
            return(surveySequence);
        }
Ejemplo n.º 5
0
        public void Update(SurveySequence surveySequence_0)
        {
            string string_ = string.Format(GClass0.smethod_0("/ĩȼ̶Т԰ٔܠࠇःਆଊగാฉ༚ဟᄌሆጄᐃᕅᘷᜦᠶ᥁ᨳᬊᰌᴋḙἂ\u2005ℐ∜⍷⑫╵♳✨⡣⤬⩷⭣Ⱍⴈ⸝⼞』ㄇ㈋㌂㐙㔌㘀㝣㡿㥡㨻㬍㱃㴑㹬㽺䁽䅼䉧䍾䑲䔕䘉䜓䠕䥊䨃䭒䰉䴁乯佢偸兪剤卢呹啤噻坠塷女婲孚屐嵉帼弦怺慢戬捪携敖晝杁桑楝橕歐汏浒湏潄灟煇牜猧琻甥癿眶硿礭穃箶粬綾纰羾肥膻芧莴蒣薧蚦螶袼覥諐诒賎趖軚辖郆醪銡鎵钥閩隡鞼颠馾骣鮐鲋鶓麈鿻ꃧꇹꊣꏠ꒫ꗹꚂꞖꢀꦂꪙꮀ검궒꺅꾏냪뇴단뎼듾떸뛨랓뢃릆명믠볼뷸뻻뿲샴쇦심쏾쓻연요잎좒즖쫋쮖쳓춊캀쿻탫퇮틭폸퓣헫훠퟼\ud8f6\ud9e8\udaed\udbda\udcbe\udda0\udebc\udfbc簾窱שּׂﰻ﴾︳I>Ħọ̈̄зԧؠܬࠦस਽ପ౎൐์ཌထᅘቚጚᑁᕉᘶᜦᠡ᤮ᨲᬛᰁᴟḙἜ–℗∇⌃␟┘☑❳⡯⥱⨫⭾ⱽⴰ⹠⼙』ㄊ㈇㌕㐂㔚㘁㜍㠆㤞㨔㭶㱳㵸㸜㼆䀚䅂䈉䌃䑋䔙䙤䝲䡵䥴䩯䭻䱧䵠乩伋倗儉剓化吓啘嘈坰塷女婶孚屇嵂幛彎恓慝戸挪搶攲景朢栤楬樷欯汙浅湉潙灏焩牁獃琦甸瘤睸砲祼"), new object[]
            {
                surveySequence_0.ID,
                surveySequence_0.SURVEY_ID,
                surveySequence_0.SEQUENCE_ID,
                surveySequence_0.PAGE_ID,
                surveySequence_0.CIRCLE_A_CURRENT,
                surveySequence_0.CIRCLE_A_COUNT,
                surveySequence_0.CIRCLE_B_CURRENT,
                surveySequence_0.CIRCLE_B_COUNT,
                surveySequence_0.VERSION_ID,
                surveySequence_0.PAGE_BEGIN_TIME,
                surveySequence_0.PAGE_END_TIME,
                surveySequence_0.RECORD_FILE,
                surveySequence_0.RECORD_START_TIME,
                surveySequence_0.RECORD_BEGIN_TIME,
                surveySequence_0.RECORD_END_TIME,
                surveySequence_0.PAGE_TIME,
                surveySequence_0.SURVEY_GUID
            });

            this.dbprovider_0.ExecuteNonQuery(string_);
        }
Ejemplo n.º 6
0
        public void UpdateNext(SurveySequence surveySequence_0)
        {
            string string_ = string.Format(GClass0.smethod_0("\u001dĈȀ̎Љԝ٨܄ࠉऐਊଗ౪൫๩༟ၸᅯታ፶ᐚᕪᙍᝅᡀᥐᩍ᭠᱗ᵀṅὊ⁀ⅎ≉⌋⑽╡♭❵⡣⤅⩷⭶Ɒ⵷⹥⽆ぁㅔ㉘㌦㐽㕢㘨㝪㠱㤵㩕㭝㱖㴱㹃㽊䁟䅘䉉䍅䑉䕌䙗䝎䡂䤥䨹䭸䰳䵼"), surveySequence_0.SURVEY_ID, surveySequence_0.SEQUENCE_ID);
            int    num     = this.dbprovider_0.ExecuteScalarInt(string_);

            if (num <= 0)
            {
                this.Add(surveySequence_0);
            }
            else
            {
                this.UpdateBySequenceID(surveySequence_0);
            }
        }
Ejemplo n.º 7
0
        public int GetEndType(string string_0, int int_0, string string_1)
        {
            int            int_         = int_0 - 1;
            SurveySequence bySequenceID = this.oSurveySequenceDal.GetBySequenceID(string_0, int_);
            int            result;

            if (bySequenceID.PAGE_ID == string_1)
            {
                result = 1;
            }
            else
            {
                result = 2;
            }
            return(result);
        }
Ejemplo n.º 8
0
        public void Add(SurveySequence surveySequence_0)
        {
            string string_ = string.Format(GClass0.smethod_0("\u001dĝȁ̔Ђԛٮ܄ࠂटਅ୩ఛലิ༳အᄺሑጤᐱᕊᙛᝓᡟᥞᨒ᭪ᱭᵥṠὰⅬ≻⍵␜╼♫❼⡹⥮⩤⭪Ɑ⵸⹯⽡〈ㅳ㉣㍦㑥㕀㙗㝙㠰㥘㩓㭋㱛㵛㹓㽊䁕䅌䉑䍄䑂䕝䙋䝃䡘䤧䩉䭀䱚䵄乊佀偛兂剝卂呏喪嚰垩壐妸媳宫岻嶻庳循悶憬抱掤撢施暫枣梸槇檩殠沺涤溪澠炻熡犽玢璯疊皐瞉磰禍窟箋粋綞纙羛肋膚芖菽蒀薎蚉螈袓覉誏讎貁趉躙辑邍醎銇鏭钐闾雹韸飣駾髴鯽鳧鷣黿鿸ꃱꆟꋠꏴꓳꗠ꛼꟩ꣳꧭꫣꯥ곭궋껴꿠냧뇬닰돥듿뗌뛊럜룎맏뫅믍병뷚뻓뾹샆쇖싑쏞쓂엋웑쟏죉짌쫃쯇쳗췓컏쿈탁톯틐폄퓃픰혬휹\ud823\ud93e\uda34\udb3d\udc27\udd23\ude3f\udf38懶福ﬕﰍﴒ︅スsĨɢ̬ѷգصݼ࠱१੭ଲ౺ഺ๡ཀྵဿᅰሿ፭ᐻᔋᙃᜑᡇᤎᩇᬕ᱃ᴁṋἙ⁏℄≏⌝␗╔☖❐⠋⤇⨍⭒Ⱁⵚ⸁⼉〃ㅘ㈓㌑㑝㔸㘲㜺㡧㤪㨫㭤㰿㴻㹭㼤䀦䅮䈾䍪䐡䔼䙳䜡䡷䤺䨾䭴䰤䴠乽伴倱兾別匨"), new object[]
            {
                surveySequence_0.SURVEY_ID,
                surveySequence_0.SEQUENCE_ID,
                surveySequence_0.PAGE_ID,
                surveySequence_0.CIRCLE_A_CURRENT,
                surveySequence_0.CIRCLE_A_COUNT,
                surveySequence_0.CIRCLE_B_CURRENT,
                surveySequence_0.CIRCLE_B_COUNT,
                surveySequence_0.VERSION_ID,
                surveySequence_0.PAGE_BEGIN_TIME,
                surveySequence_0.PAGE_END_TIME,
                surveySequence_0.RECORD_FILE,
                surveySequence_0.RECORD_START_TIME,
                surveySequence_0.RECORD_BEGIN_TIME,
                surveySequence_0.RECORD_END_TIME,
                surveySequence_0.PAGE_TIME,
                surveySequence_0.SURVEY_GUID
            });

            this.dbprovider_0.ExecuteNonQuery(string_);
        }
Ejemplo n.º 9
0
        public void UpdateBySequenceID(SurveySequence surveySequence_0)
        {
            string string_ = string.Format(GClass0.smethod_0("5ďȚ̜ЈԞٺ܊࠭थਠରభഀื༠ဥᄪሠጮᐩᕫᘙᜌ᠜ᥧᨖᬄᰃᴆḝἈ\u2004℟∃⌝␛╀☉❄⠟⤛⩵⭼ⱦ⵰⹾⽴はㅮ㉱㍮㑹㕹㙸㝬㡦㥳㨆㬘㰄㵘㸖㽜䀌䅜䉗䍏䑟䕗䙟䝆䡙䥈䩕䭚䱁䵝乆伱倭儯創匸呱唧噉址塚奄婊孀屛嵁幝彂恕憭抬掸撲斯曚柄棘榌櫀殈泘涰溻澣炳熣犫玲璮疴皩瞦碽禩窲篅糙緃纙翖肝至芈莘蒎薈蚓螖袖覈誟讑賴跮軲辪部醲鋢鎝钍閌随鞖颊馂骁鮌鲊鶜麖龈ꂍꇺꊞꎀ꒜ꖜꛁꞀꣅꦐꪚꯥ공귴껷꿮냵뇡닪돲듸뗢뛧러뢈릚몆뮂볟붒뺒뿜삇솳싌쏘쓟엔웈쟝죇집쫟쯙쳑춳캯쾱킷퇴튿펼퓱햬횦ퟛ\ud8cd\ud9c4\udac9\udbd7\udcc0\udddc\uded1\udfd5拉﨣ﬢﰭﴭ︽U)Ēțͽѡջءݨ࡫प੺ଇ఑ഐฝ༃နᄐላጃᐈᔔᘞᜀ᠅ᤂᩦ᭸ᱤᴸṳή‽ℓ≮⍼⑻╾♥❭⡱⥺⩳⬕Ⰹⴓ⹉⼀々ㅒ㈎㍺㑤㕮㙸㝬㠈㥴㩳㭷㱲㵦㹻㽾䁩䅛䈾䌠䐼䔼䙡䜨䡥䤰䨶䭔䱚䵗串佂偕兞剛午呂啈噏坖塁奃娦嬸尤嵸帰彼"), new object[]
            {
                surveySequence_0.ID,
                surveySequence_0.SURVEY_ID,
                surveySequence_0.SEQUENCE_ID,
                surveySequence_0.PAGE_ID,
                surveySequence_0.CIRCLE_A_CURRENT,
                surveySequence_0.CIRCLE_A_COUNT,
                surveySequence_0.CIRCLE_B_CURRENT,
                surveySequence_0.CIRCLE_B_COUNT,
                surveySequence_0.VERSION_ID,
                surveySequence_0.PAGE_BEGIN_TIME,
                surveySequence_0.PAGE_END_TIME,
                surveySequence_0.RECORD_FILE,
                surveySequence_0.RECORD_START_TIME,
                surveySequence_0.RECORD_BEGIN_TIME,
                surveySequence_0.RECORD_END_TIME,
                surveySequence_0.PAGE_TIME
            });

            this.dbprovider_0.ExecuteNonQuery(string_);
        }
Ejemplo n.º 10
0
        public void Delete(SurveySequence surveySequence_0)
        {
            string string_ = string.Format(GClass0.smethod_0("lŢɪ͠Ѱզ؂ݧࡲॐ੓ଽ౏൮๨཯ၽᅮቅ፰ᑥᕦᙷ᝿ᡳᥪᨮ᭚᱄ᵎṘὌ\u2028ⅎ≂⌥␹╸☲❼"), surveySequence_0.ID);

            this.dbprovider_0.ExecuteNonQuery(string_);
        }