public void Add(SurveyRoadMap surveyRoadMap_0) { string string_ = string.Format(GClass0.smethod_0("ùǡ˽ϨӾڊߠࣦ৳૩அූ໐࿗ჅᇦዌᏲᓽᗿᛗ៸ᣨᦿᫀᯐ᳆᷀ớ῞⃞⇐⋇⏉⒠◛⛋⟛⣜⧘⫈⯄ⳉⷆ⺮⿑チㄸ㈻㌢㐲㔴㘮㜼㡔㤧㨷㬲㰱㴬㸻㼵䁜䄽䈡䌸䐸䔮䘵䜥䠧䤠䨯䬦䱈䴤丰伮倵儏刁匏吓唎嘎圜堇夛娙嬒尝崐幾弗怟愝戃挒搂攊昇朌桤椎樕欚氎洖渏漑灬煱牱獩瑹甒瘚睯硹祻穣筰籧紛繉缁聍脃舉荖萝蕖蘍蜅蠏襜訔識调贏踅轚逓酢鈹錱鐻镠阮靤頿餻騱魮鰡鵮鸵鼽ꀷꅴꈸꍰꐫꔧ꙱Ꜿ꡵꤫ꨡꭾ갼굾긥꼨"), new object[] { surveyRoadMap_0.VERSION_ID, surveyRoadMap_0.PART_NAME, surveyRoadMap_0.PAGE_NOTE, surveyRoadMap_0.PAGE_ID, surveyRoadMap_0.ROUTE_LOGIC, surveyRoadMap_0.GROUP_ROUTE_LOGIC, surveyRoadMap_0.FORM_NAME, surveyRoadMap_0.IS_JUMP, surveyRoadMap_0.NOTE }); this.dbprovider_0.ExecuteNonQuery(string_); }
public void Update(SurveyRoadMap surveyRoadMap_0) { string string_ = string.Format(GClass0.smethod_0("\u0092Ɩʁ΅җևۡޓ࣊ৌોೂ෨໖࿙დᇻዔᏄᒓᗡᛴ៤ᢏ᧸᯾᳸ᷣỦῦ⇯⋡⎄⒞▂⛚➑⣢⦲⫍⯝ⳉⷎ⻆ブ㇛㋐㎴㒮㖲㚶㟫㢽㧳㪪㮠㳛㷋㻎㿍䃘䇈䋊䏐䓆䖢䚼䞠䡘䤅䩎䬁䱜䵖丩伹倰儳刪匽吷啒噌坐塈夕婙嬑屌嵆帻弧怲愲戠挻搯攭昦朩栜楾橠歼汼洡湬漥灰煺爒猆琜甇瘁眏砝礁稘笘簎紕縅缇耀脏舆荤葾蕢虦蜻蠉襃訚謐豽赵蹫轵遨酸鉴鍹鑶锒阌霐須饕騚魑鰌鴆鹠齻ꁸꅬꉰꍩꑳꔂꘜ꜀ꡤꤦꩠꬰ걕굕깍꽝뀷넫눵댳둨딫뙬뜷렯륙멅뭉뱙뵏븩뽁쁃섦숸쌤쑸씲왼"), new object[] { surveyRoadMap_0.ID, surveyRoadMap_0.VERSION_ID, surveyRoadMap_0.PART_NAME, surveyRoadMap_0.PAGE_NOTE, surveyRoadMap_0.PAGE_ID, surveyRoadMap_0.ROUTE_LOGIC, surveyRoadMap_0.GROUP_ROUTE_LOGIC, surveyRoadMap_0.FORM_NAME, surveyRoadMap_0.IS_JUMP, surveyRoadMap_0.NOTE }); this.dbprovider_0.ExecuteNonQuery(string_); }
public SurveyRoadMap GetBySql(string string_0) { IDataReader dataReader = this.dbprovider_0.ExecuteReader(string_0); SurveyRoadMap surveyRoadMap = new SurveyRoadMap(); using (dataReader) { while (dataReader.Read()) { surveyRoadMap.ID = Convert.ToInt32(dataReader[GClass0.smethod_0("KŅ")]); surveyRoadMap.VERSION_ID = Convert.ToInt32(dataReader[GClass0.smethod_0("\\Ōɚ͔яՊيݜࡋॅ")]); surveyRoadMap.PART_NAME = dataReader[GClass0.smethod_0("Yʼnɕ͒њՊقݏࡄ")].ToString(); surveyRoadMap.PAGE_NOTE = dataReader[GClass0.smethod_0("Yʼnɀ̓њՊٌݖࡄ")].ToString(); surveyRoadMap.PAGE_ID = dataReader[GClass0.smethod_0("WŇɂ́ќՋم")].ToString(); surveyRoadMap.ROUTE_LOGIC = dataReader[GClass0.smethod_0("YŅɜ͜тՙىࡄोੂ")].ToString(); surveyRoadMap.GROUP_ROUTE_LOGIC = dataReader[GClass0.smethod_0("Vłɀ͛ѝՓٙ݅ड़ੂോไཋ၂")].ToString(); surveyRoadMap.FORM_NAME = dataReader[GClass0.smethod_0("OŇɕ͋њՊقݏࡄ")].ToString(); surveyRoadMap.IS_JUMP = Convert.ToInt32(dataReader[GClass0.smethod_0("Nŕɚ͎іՏّ")]); surveyRoadMap.NOTE = dataReader[GClass0.smethod_0("JŌɖ̈́")].ToString(); } } return(surveyRoadMap); }
public bool NextPage(NavBase navBase_0, NavigationService navigationService_0) { int surveySequence = SurveyHelper.SurveySequence; string roadMapVersion = SurveyHelper.RoadMapVersion; string surveyID = SurveyHelper.SurveyID; string navCurPage = SurveyHelper.NavCurPage; navBase_0.PageStartTime = SurveyHelper.PageStartTime; navBase_0.RecordFileName = SurveyHelper.RecordFileName; navBase_0.RecordStartTime = SurveyHelper.RecordStartTime; SurveyRoadMap byPageId = oSurveyRoadMapDal.GetByPageId(navCurPage, roadMapVersion); string text = "#CircleGuide#CircleStart#EmptyJump#Recode#"; string value = "#" + byPageId.FORM_NAME.ToUpper() + "#"; bool flag = text.ToUpper().Contains(value); if (SurveyHelper.AutoCapture && !flag) { string str = SurveyHelper.SurveyID + "_" + SurveyHelper.NavCurPage + ((SurveyHelper.CircleACode == "") ? "" : ("_A" + SurveyHelper.CircleACode)) + ((SurveyHelper.CircleBCode == "") ? "" : ("_B" + SurveyHelper.CircleBCode)) + ".jpg"; str = Directory.GetCurrentDirectory() + "\\Photo\\" + str; if (File.Exists(str)) { str = SurveyHelper.SurveyID + "_" + SurveyHelper.NavCurPage + ((SurveyHelper.CircleACode == "") ? "" : ("_A" + SurveyHelper.CircleACode)) + ((SurveyHelper.CircleBCode == "") ? "" : ("_B" + SurveyHelper.CircleBCode)) + "_" + DateTime.Now.Hour + DateTime.Now.Minute + DateTime.Now.Second + ".jpg"; str = Directory.GetCurrentDirectory() + "\\Photo\\" + str; } method_0(str, (int)SurveyHelper.Screen_LeftTop); } try { if (navBase_0.GroupLevel == "") { navBase_0.NextPage(surveyID, surveySequence, navCurPage, roadMapVersion); } else { navBase_0.NextCirclePage(surveyID, surveySequence, navCurPage, roadMapVersion); SurveyHelper.CircleACount = navBase_0.CircleACount; SurveyHelper.CircleACurrent = navBase_0.CircleACurrent; if (navBase_0.IsLastA && (navBase_0.GroupPageType == 0 || navBase_0.GroupPageType == 2)) { SurveyHelper.CircleACode = ""; SurveyHelper.CircleACodeText = ""; } if (navBase_0.GroupLevel == "B") { SurveyHelper.CircleBCount = navBase_0.CircleBCount; SurveyHelper.CircleBCurrent = navBase_0.CircleBCurrent; if (navBase_0.IsLastB && (navBase_0.GroupPageType == 10 || navBase_0.GroupPageType == 12 || navBase_0.GroupPageType == 30 || navBase_0.GroupPageType == 32)) { SurveyHelper.CircleBCode = ""; SurveyHelper.CircleBCodeText = ""; } } } string text2 = oLogicEngine.Route(navBase_0.RoadMap.FORM_NAME); SurveyHelper.RoadMapVersion = navBase_0.RoadMap.VERSION_ID.ToString(); string uriString = string.Format("pack://application:,,,/View/{0}.xaml", text2); if (text2.Substring(0, 1) == "A") { uriString = string.Format("pack://application:,,,/ViewProject/{0}.xaml", text2); } if (text2 == SurveyHelper.CurPageName) { navigationService_0.Refresh(); } else { if (!FormIsOK(text2)) { string text3 = string.Format(SurveyMsg.MsgErrorJump, surveyID, navCurPage, navBase_0.RoadMap.VERSION_ID, navBase_0.RoadMap.PAGE_ID, navBase_0.RoadMap.FORM_NAME); MessageBox.Show(SurveyMsg.MsgErrorRoadmap + Environment.NewLine + Environment.NewLine + text3 + SurveyMsg.MsgErrorEnd, SurveyMsg.MsgCaption, MessageBoxButton.OK, MessageBoxImage.Hand); oLogicEngine.OutputResult(text3, "CapiDebug.Log"); return(false); } navigationService_0.RemoveBackEntry(); navigationService_0.Navigate(new Uri(uriString)); } SurveyHelper.SurveySequence = surveySequence + 1; SurveyHelper.NavCurPage = navBase_0.RoadMap.PAGE_ID; SurveyHelper.CurPageName = text2; SurveyHelper.NavGoBackTimes = 0; SurveyHelper.NavOperation = "Normal"; SurveyHelper.NavLoad = 0; } catch (Exception) { string text4 = string.Format(SurveyMsg.MsgErrorJump, surveyID, navCurPage, navBase_0.RoadMap.VERSION_ID, navBase_0.RoadMap.PAGE_ID, navBase_0.RoadMap.FORM_NAME); MessageBox.Show(SurveyMsg.MsgErrorRoadmap + Environment.NewLine + Environment.NewLine + text4 + SurveyMsg.MsgErrorEnd, SurveyMsg.MsgCaption, MessageBoxButton.OK, MessageBoxImage.Hand); oLogicEngine.OutputResult(text4, "CapiDebug.Log"); return(false); } return(true); }
public void Delete(SurveyRoadMap surveyRoadMap_0) { string string_ = string.Format(GClass0.smethod_0("cţɩ͡ѷէݦࡍ଼॑ై൯ၲᅯቇ፻ᑲᕶᙜᩚ᭄ᱎᵘṌἨ⁎⅂∥⌹⑸┲♼"), surveyRoadMap_0.ID); this.dbprovider_0.ExecuteNonQuery(string_); }