]> insang Git - newton-cn_pos.git/commitdiff
상품검색 업데이트
authornewton-cn <insang@kakao.com>
Tue, 12 Aug 2025 03:22:35 +0000 (12:22 +0900)
committernewton-cn <insang@kakao.com>
Tue, 12 Aug 2025 03:22:35 +0000 (12:22 +0900)
15 files changed:
.vs/newton-cn/v16/.suo
newton-cn/MouseEvent1.cs
newton-cn/bin/Debug/newton-cn.exe
newton-cn/bin/Debug/newton-cn.pdb
newton-cn/bin/Release/newton-cn.exe
newton-cn/bin/Release/newton-cn.pdb
newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache
newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache [deleted file]
newton-cn/obj/Debug/newton-cn.csproj.FileListAbsolute.txt
newton-cn/obj/Debug/newton-cn.exe
newton-cn/obj/Debug/newton-cn.pdb
newton-cn/obj/Release/newton-cn.csproj.AssemblyReference.cache [new file with mode: 0644]
newton-cn/obj/Release/newton-cn.csproj.FileListAbsolute.txt
newton-cn/obj/Release/newton-cn.exe
newton-cn/obj/Release/newton-cn.pdb

index 835b746ecfa7a8d575d17f815785258713dc64ea..815770571ebffc1bdaf545b6025b4a3e25f5e9a0 100644 (file)
Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ
index 701b222e08a1f397acdca1daac6f43098a0fc780..d005634425385530b07e08fb1a7199be1058a1c1 100644 (file)
@@ -13,22 +13,22 @@ namespace newton_cn
 {
     class MouseEvent1
     {
-        private string where = "cn";
+        //private string where = "cn";
         private int m_ThreadNo = 0;
-        
+
         private int pr;
         private int kind;
         private int aCount;
         private bool mInit;
 
-        public MouseEvent1(int pr, int kind, int aCount= 1, bool mInit= true)
+        public MouseEvent1(int pr, int kind, int aCount = 1, bool mInit = true)
 
         {
             this.pr = pr;
             this.kind = kind;
             this.aCount = aCount;
             this.mInit = mInit;
-            
+
         }
 
         [DllImport("user32.dll")]
@@ -40,96 +40,104 @@ namespace newton_cn
         const uint RBUTTONDOWN = 0x0008;    // 오른쪽 마우스 버튼 눌림
         const uint RBUTTONUP = 0x00010;      // 오른쪽 마우스 버튼 떼어짐
 
-        List<Point> menus= new List<Point>();
-        List<Point> items= new List<Point>();
+        List<Point> menus = new List<Point>();
+        List<Point> items = new List<Point>();
         Dictionary<string, Point> arrowmenu = new Dictionary<string, Point>();
         Dictionary<string, Point> arrowitem = new Dictionary<string, Point>();
 
         public void find()
         {
-            USBControl.DisableDevice(where);
+            //USBControl.DisableDevice(where);
             this.Delay(200);
 
-            arrowmenu["left"] = new Point(935, 170);
-            arrowmenu["right"] = new Point(985, 170);
+            arrowmenu["left"] = new Point(992, 96);
+            arrowmenu["right"] = new Point(992, 167);
 
-            arrowitem["left"] = new Point(935, 535);
-            arrowitem["right"] = new Point(985, 535);
+            arrowitem["left"] = new Point(992, 316);
+            arrowitem["right"] = new Point(992, 534);
 
             menus.Add(new Point(0, 0));
-            menus.Add(new Point(440, 98));
-            menus.Add(new Point(545, 98));
-            menus.Add(new Point(650, 98));
-            menus.Add(new Point(755, 98));
-            menus.Add(new Point(860, 98));
-            menus.Add(new Point(965, 98));
-            menus.Add(new Point(440, 170));
-            menus.Add(new Point(545, 170));
-            menus.Add(new Point(650, 170));
-            menus.Add(new Point(755, 170));
-            menus.Add(new Point(860, 170));
+            menus.Add(new Point(440 - 30, 98 - 3));
+            menus.Add(new Point(545 - 30, 98 - 3));
+            menus.Add(new Point(650 - 30, 98 - 3));
+            menus.Add(new Point(755 - 30, 98 - 3));
+            menus.Add(new Point(860 - 30, 98 - 3));
+            menus.Add(new Point(965 - 30, 98 - 3));
+            menus.Add(new Point(440 - 30, 170 - 3));
+            menus.Add(new Point(545 - 30, 170 - 3));
+            menus.Add(new Point(650 - 30, 170 - 3));
+            menus.Add(new Point(755 - 30, 170 - 3));
+            menus.Add(new Point(860 - 30, 170 - 3));
+            menus.Add(new Point(950 - 30, 170 - 3));
 
             items.Add(new Point(0, 0));
-            items.Add(new Point(440, 240));
-            items.Add(new Point(545, 240));
-            items.Add(new Point(650, 240));
-            items.Add(new Point(755, 240));
-            items.Add(new Point(860, 240));
-            items.Add(new Point(965, 240));
-            items.Add(new Point(440, 320));
-            items.Add(new Point(545, 320));
-            items.Add(new Point(650, 320));
-            items.Add(new Point(755, 320));
-            items.Add(new Point(860, 320));
-            items.Add(new Point(965, 320));
-            items.Add(new Point(440, 390));
-            items.Add(new Point(545, 390));
-            items.Add(new Point(650, 390));
-            items.Add(new Point(755, 390));
-            items.Add(new Point(860, 390));
-            items.Add(new Point(965, 390));
-            items.Add(new Point(440, 460));
-            items.Add(new Point(545, 460));
-            items.Add(new Point(650, 460));
-            items.Add(new Point(755, 460));
-            items.Add(new Point(860, 460));
-            items.Add(new Point(965, 460));
-            items.Add(new Point(440, 535));
-            items.Add(new Point(545, 535));
-            items.Add(new Point(650, 535));
-            items.Add(new Point(755, 535));
-            items.Add(new Point(860, 535));
+            items.Add(new Point(440 - 30, 240));
+            items.Add(new Point(545 - 30, 240));
+            items.Add(new Point(650 - 30, 240));
+            items.Add(new Point(755 - 30, 240));
+            items.Add(new Point(860 - 30, 240));
+            items.Add(new Point(965 - 30, 240));
+            items.Add(new Point(440 - 30, 315));
+            items.Add(new Point(545 - 30, 315));
+            items.Add(new Point(650 - 30, 315));
+            items.Add(new Point(755 - 30, 315));
+            items.Add(new Point(860 - 30, 315));
+            items.Add(new Point(965 - 30, 315));
+            items.Add(new Point(440 - 30, 390));
+            items.Add(new Point(545 - 30, 390));
+            items.Add(new Point(650 - 30, 390));
+            items.Add(new Point(755 - 30, 390));
+            items.Add(new Point(860 - 30, 390));
+            items.Add(new Point(965 - 30, 390));
+            items.Add(new Point(440 - 30, 460));
+            items.Add(new Point(545 - 30, 460));
+            items.Add(new Point(650 - 30, 460));
+            items.Add(new Point(755 - 30, 460));
+            items.Add(new Point(860 - 30, 460));
+            items.Add(new Point(965 - 30, 460));
+            items.Add(new Point(440 - 30, 535));
+            items.Add(new Point(545 - 30, 535));
+            items.Add(new Point(650 - 30, 535));
+            items.Add(new Point(755 - 30, 535));
+            items.Add(new Point(860 - 30, 535));
+            items.Add(new Point(965 - 30, 535));
+            items.Add(new Point(440 - 30, 600));
+            items.Add(new Point(545 - 30, 600));
+            items.Add(new Point(650 - 30, 600));
+            items.Add(new Point(755 - 30, 600));
+            items.Add(new Point(860 - 30, 600));
+            items.Add(new Point(965 - 30, 600));
 
             if (mInit)
             {
                 this.menuinit(kind);
                 int tkind = kind;
-                while (tkind - 11 > 0)
+                while (tkind - 12 > 0)
                 {
                     move(arrowmenu["right"]);
                     click();
-                    tkind = tkind - 11;
+                    tkind = tkind - 12;
                 }
                 move(menus[tkind]);
                 click();
-            }            
+            }
 
             int tpr = pr;
             //43
-            while(tpr - 29 > 0)
+            while (tpr - 36 > 0)
             {
                 move(arrowitem["right"]);
                 click();
-                tpr = tpr - 29;
+                tpr = tpr - 36;
             }
             move(items[tpr]);
 
-            for (int i=0; i< aCount; i++)
+            for (int i = 0; i < aCount; i++)
             {
                 click();
             }
 
-            USBControl.EnableDevice(where);
+            //USBControl.EnableDevice(where);
 
         }
 
@@ -140,7 +148,7 @@ namespace newton_cn
             this.Delay(100);
         }
 
-        private void click(int time= 100)
+        private void click(int time = 100)
         {
             mouse_event(LBUTTONDOWN, 0, 0, 0, 0);
             mouse_event(LBUTTONUP, 0, 0, 0, 0);
@@ -152,7 +160,7 @@ namespace newton_cn
         {
 
             this.move(arrowmenu["left"]);
-            for (int i=0; i<15; i++)
+            for (int i = 0; i < 15; i++)
             {
                 this.click(50);
             }
index 7e5a1ef0361f7fdb6154156a39c6de4603fe1af8..d197006b3b7a2fce9ad52407ad5c696439039347 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.exe and b/newton-cn/bin/Debug/newton-cn.exe differ
index 01dbf55bc2eee2fbc4b58891ddc1b063bb711bdf..9bbad1dbe634695d46d16f281e445f6751170349 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.pdb and b/newton-cn/bin/Debug/newton-cn.pdb differ
index 757ded64eef1ef3ff59788dbfc91f3c9e74ef49b..101e842fc5e73ff9646955ab26c4a152305c4a1e 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ
index 80d841fab8be9905e7db125f32da8d107cbd6629..ce970b04f3ae989cac1ce3ceb596509521a730d6 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.pdb and b/newton-cn/bin/Release/newton-cn.pdb differ
index 50d988a297ae19b249e95dccb27ef4a414d85eb0..b0b965bebc2e0097c2a199a2854a3f7b6fd24973 100644 (file)
Binary files a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache b/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache
deleted file mode 100644 (file)
index 654fe63..0000000
Binary files a/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache and /dev/null differ
index 1462588873b4facc2ff078a0cafcf2620c4e5ea6..d6bbf9d819d6447eaab7aa2ad3940dab5f3a53ad 100644 (file)
@@ -34,6 +34,5 @@ z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.cs
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.csproj.CoreCompileInputs.cache
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.exe
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.pdb
-z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.csproj.AssemblyReference.cache
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form7.resources
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form8.resources
index 7e5a1ef0361f7fdb6154156a39c6de4603fe1af8..d197006b3b7a2fce9ad52407ad5c696439039347 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.exe and b/newton-cn/obj/Debug/newton-cn.exe differ
index 01dbf55bc2eee2fbc4b58891ddc1b063bb711bdf..9bbad1dbe634695d46d16f281e445f6751170349 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.pdb and b/newton-cn/obj/Debug/newton-cn.pdb differ
diff --git a/newton-cn/obj/Release/newton-cn.csproj.AssemblyReference.cache b/newton-cn/obj/Release/newton-cn.csproj.AssemblyReference.cache
new file mode 100644 (file)
index 0000000..654fe63
Binary files /dev/null and b/newton-cn/obj/Release/newton-cn.csproj.AssemblyReference.cache differ
index 80e63aa0ad8d69244af378add2970058512b70c1..004122203a8217e06f6066fdaad4c49c2aceaee8 100644 (file)
@@ -36,3 +36,4 @@ z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form6.resources
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form7.resources
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form8.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.csproj.AssemblyReference.cache
index 757ded64eef1ef3ff59788dbfc91f3c9e74ef49b..101e842fc5e73ff9646955ab26c4a152305c4a1e 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ
index 80d841fab8be9905e7db125f32da8d107cbd6629..ce970b04f3ae989cac1ce3ceb596509521a730d6 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ