Shanghai brand software writing ideal (C#) ------ preface

In 2015, I manually photographed my relatives' license plates for 7 months, but they were not shot. I have some regrets in my heart, so I have been thinking about learning c# and then writing an automatic card software. It just so happened that there was nothing to do at home on Ching Ming Festival in 2020, plus 5 days of vacation, it took nearly 10 days to write this software. The main reason is the idea, there is no difficulty in C# and the software itself.

First of all, I think the value of the software itself is only to reduce mistakes, fixed-point bidding, and there is no other advantage. We must also be good citizens who abide by laws and regulations, so the original intention of this software is to learn and communicate.

I am a programmer, so in the text I will only talk about how to write this software from a technical point of view. Although I have 2 years of bidding experience, this article will not discuss when to bid and what price to bid. People and websites who are more professional than me can inquire about these bid strategies.

The program has been written almost, the following is the video I recorded on the analog card website.

1. Effect experiment video:

One hit method:

https://v.youku.com/v_show/id_XNDY0MzcxNjc1Mg==.html

Two hit method:

https://v.youku.com/v_show/id_XNDY0MzcxNzc0MA==.html

2. Software interface

3. Software realization function

3.1 Display the current time

The main function of this part is to read the current system time (that is, the local time of your computer). What are the problems encountered here? When using a simulated website for testing, the testing time often starts at 11:29:00. It is obviously difficult to operate if the user opens the website at this time and then changes the computer time. So the problem to be solved here is that when the user clicks the start button, the software can recognize the time on the web page (OCR image recognition), and change the system time and software time. This is operability.

3.2 remaining time

The main function of this is to show how much time is left for bidding. Why is this necessary? This is because the core of the software is event triggering, so you can know when to trigger the event by knowing the remaining time.

3.3 Scheme selection:

There are also alternatives, and there are two main ones: one-shot method (only one price), two-shot method (two prices).

3.3.1 One hit method:

3 elements, when to bid, when to increase, and when to submit the price. The problem here is to know where the bidding box is, where is the price increase button, and where is the price submission button. The problem here can be located through image recognition, and the accuracy of the recognition must be ensured.

3.3.2 Two-shot method:

Similar to the one-click method, the main elements are the same.

3.4 Simulation and actual combat buttons

This is mainly to control whether the current user conducts formal or simulated card auction. There is no problem here. I use a self-made browser to display the web page, which is also easy to locate.

3.5 Clear data button

This is mainly used to clarify user data.

3.6 Exit button

When the user finishes the operation, click this button to completely exit.

3.7start button

When the user has set all the parameters and has clicked the actual combat or simulation button, the software will run automatically when this button is clicked. Bid, mark up, and sell at the time set by the user. What needs to be mentioned is that after clicking the start button, the user's hand must be placed on the numeric keyboard button to enter the verification code. This cannot be done automatically. Therefore, when setting the release time and mandatory submission time, users should consider how long it takes to enter the verification code by themselves. This is very important.

 

Software link:

https://download.csdn.net/download/daijiaruan5860/12537893

Guess you like

Origin blog.csdn.net/daijiaruan5860/article/details/105618836