=====* UniMarc [0.0135] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** *** 마크작성 - 칸채우기 버그 수정을 위해 테스트 계정 제외하고 잠금*** 1. 메인 ㄴ> 즐겨찾기 설정값에 따라 아이콘 추가. 2. 납품/거래처 관리 ㄴ> 마크/장비 관련 표출 안되는 버그 수정. 3. 복본조사 ㄴ> 완도공공도서관 추가 (완도공공, 노화공공, 금일공공, 보길윤선도작은도서관, 군외동백숲작은도서관, 도담도담작은도서관)
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -132,6 +132,7 @@ namespace WindowsFormsApp1.Mac
|
||||
RowCount = 0;
|
||||
isJNLClick = false;
|
||||
isKJKClick = false;
|
||||
isWandoClick = false;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -197,6 +198,10 @@ namespace WindowsFormsApp1.Mac
|
||||
}
|
||||
|
||||
// 전남 완도 TODO: 작업해야함
|
||||
else if (URL.IndexOf("book.wando.go.kr") > -1)
|
||||
{
|
||||
BookCount = 전남완도입력(text);
|
||||
}
|
||||
|
||||
// 전남 도립 TODO: 오류발생 (원인불명) [한번에 3개씩 검색결과가 표출됨]
|
||||
/*
|
||||
@@ -554,33 +559,57 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
#region 전남 완도 (작업예정)
|
||||
|
||||
void 전남완도입력(string text)
|
||||
bool isWandoClick = false;
|
||||
string 전남완도입력(string text)
|
||||
{
|
||||
webBrowser1.Document.GetElementById("value2").SetAttribute("value", text);
|
||||
foreach (HtmlElement Btn in webBrowser1.Document.GetElementsByTagName("select"))
|
||||
{
|
||||
if (Btn.GetAttribute("name").IndexOf("local") > -1)
|
||||
Btn.SetAttribute("value", Code);
|
||||
}
|
||||
|
||||
foreach (HtmlElement DIV in webBrowser1.Document.GetElementsByTagName("div"))
|
||||
{
|
||||
if (DIV.GetAttribute("className").IndexOf("search") > -1)
|
||||
{
|
||||
HtmlElementCollection FindSearch = DIV.GetElementsByTagName("input");
|
||||
foreach (HtmlElement search in FindSearch)
|
||||
{
|
||||
if (search.Name.IndexOf("word") > -1)
|
||||
search.SetAttribute("value", text);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isWandoClick)
|
||||
{
|
||||
foreach (HtmlElement DIV in webBrowser1.Document.GetElementsByTagName("div"))
|
||||
{
|
||||
if (DIV.GetAttribute("className").IndexOf("wrapbox") > -1)
|
||||
{
|
||||
HtmlElementCollection FindChk = DIV.GetElementsByTagName("input");
|
||||
foreach (HtmlElement chk in FindChk)
|
||||
{
|
||||
if (chk.GetAttribute("value").IndexOf(Code) > -1)
|
||||
{
|
||||
chk.InvokeMember("click");
|
||||
isWandoClick = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (HtmlElement Btn in webBrowser1.Document.GetElementsByTagName("input"))
|
||||
{
|
||||
if (Btn.GetAttribute("type") == "image")
|
||||
if (Btn.GetAttribute("className").IndexOf("btn-search") > -1)
|
||||
Btn.InvokeMember("click");
|
||||
}
|
||||
}
|
||||
|
||||
string 전남완도결과()
|
||||
{
|
||||
Delay(4000);
|
||||
|
||||
string result = "";
|
||||
|
||||
HtmlElementCollection hecTd = webBrowser1.Document.GetElementsByTagName("td");
|
||||
foreach (HtmlElement heTd in hecTd)
|
||||
HtmlElementCollection hech3 = webBrowser1.Document.GetElementsByTagName("strong");
|
||||
foreach (HtmlElement heh3 in hech3)
|
||||
{
|
||||
if (heTd.GetAttribute("alrign").IndexOf("left") > -1)
|
||||
if (heh3.GetAttribute("className").IndexOf("cyan") > -1)
|
||||
{
|
||||
result = Regex.Replace(heTd.InnerText, @"\D", "");
|
||||
result = Regex.Replace(heh3.InnerText, @"\D", "");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user