Asp. NET project solutions to deal with hardware

Source: Internet
Author: User
Tags net socket web services client
A few days ago to do such a project, the user proposed the demand is remote control LED display function, the so-called LED display, is often in banks, railway stations see the oversized kind of display.

Because I have not worked with the hardware to deal with the project, and is BS, the project is also relatively sudden, so did not come up with anything too good solution, I said that I finally used the solution, hope that the park shrimp can give a better solution. Let's discuss it together.

User Requirements

First of all, the user's needs: This project is for the bank, so just use in the LAN, the specific network structure is the matter of the bank. Since it is a LAN, there is no problem with network bandwidth. The company has done a CS software, can be very good control of the LED (others are professional to do led), but the bank must have a BS, no way! That's why we found us.

The user's main demand is the control of the LED, you can edit the content displayed on the LED, edited after the task audit, audit success after the LED display, the control of the LED (open, close, display brightness ...) ), remote control of the LED, see the LED on the current display of content.

Division and solution of software functions:

Hardware-manipulated DLL companies to provide, after all, they have ready-made (C + + written), so this aspect does not need us to consider. We'll just have to drop them off.

The whole software is divided into two parts: server side, Client

This is somewhat similar to the socket, the server has done a special monitoring program, through the request of the client to carry out the corresponding operation, such as: The task of the issuance of the control of LED.

Mainly said that the client, divided four (user has the right to control):

System Management (LED management, user management, log management, Executive command), editorial tasks, audit issued, monitoring tasks. Because the company provided by the DLL in the task is issued in the form of a. BMP diagram processing, that is, I need to edit the client after the completion of the editing area, to generate a. bmp map upload to the server. This screenshot of the action is not the user to complete, upload pictures of the action is not the user to do, are the code to complete. So like JS screenshot of what is not.

The solution we end up with is to make ActiveX controls (because if the screen is difficult to control with IE), the client should install an ActiveX if it is used for the first time. Simply we will task issued, led monitoring has been made ActiveX. The socket used for communication with the server, without the use of Web services.

But I feel that the solution to make ActiveX is not very good, does not conform to the structure of BS, because the project is more urgent, so had to use the first. Now the project knot, take out the discussion, want to know what you do in the hardware to deal with the project is how to deal with, hope to master a lot of advice, appreciate



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.