Last article: control the computer through free text messages-"executor" plug-in development-Bus Transfer Information Query
Executor is a software that can use short messages to control computers. By sending text messages, you can control the shutdown of your computer, query machine performance, query weather, query Google, andThe result is sent by text message.Here you are. The developer of the performer is the insulation cup in the morning.
Following the development of the bus transfer information query plug-in last week, with the encouragement of friends, I developed the plug-in over the weekend.Train Information Query plug-in between two stationsIt is convenient for us to quickly query the train information when we go out. Currently, only direct trains can be queried between two sites. For example, enter "train transfer: Beijing-Nanjing" to display the train count information between Beijing and Nanjing, and enter "train transfer: "Tangshan-Chongqing" prompts "there is no direct line between the two sites you are querying. Please consider transferring from the transfer station ". The running effect is as follows:
At the same time, the bus transfer information query function has been further improved, andWhen there is a direct line, the number of transfer stations and transfer between adjacent stations are displayedFunction. For example, if you enter "Bus Transfer: South Lake East Park-South Zhichun Road intersection", you can get off at Zhongguancun (East) and transfer to Zhongguancun (west). The running effect is as follows:
These two plug-ins use the same technology. They obtain HTML information through the WebClient class, and then extract the information we need using the C # string and regular expression operations class. Development motivationFrom the needs of lifeI don't know how to change to the bus when I leave the network. With these two plug-ins, I can query the bus information anytime and anywhere. I would like to thank the performer"ProgramThe author of the morning insulation cup.
Source code: Click to download the complete sample program
Execution file: Click to download the. exe file.