Skip to content
Projects

dathlin/HslControlsDemo

View on GitHub

About

A demo of the HslControls control library. Developed in C#, HslControls provides controls for industrial IoT. Together with HslCommunication, it enables rapid development of industrial host-computer software and supports commonly used industrial graphical controls for building interfaces quickly. It includes buttons, switches, progress bars, signal lights, digital displays, clocks, curve plotting controls, gauges, pipeline and bottle controls, pie charts, conveyor belts, thermometers, blowers, valves, batteries, and more.

Web & App Development

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
             ///\      ///\             /////////\              ///\
            //\\/      //\/           //\\\\\\\\//\            //\\/
           //\/       //\/          //\\/       \\/           //\/
          //\/       //\/           \//\                     //\/
         /////////////\/             \//////\               //\/
        //\\\\\\\\\//\/               \\\\\//\             //\/
       //\/       //\/                     \//\           //\/
      //\/       //\/           ///\      //\\/          //\/       //\   
     ///\      ///\/            \/////////\\/           /////////////\/
     \\\/      \\\/              \\\\\\\\\/             \\\\\\\\\\\\\/             Present by Richard.Hu

HslControls.dll

NuGet Status NuGet Download NetFramework Visual Studio copyright status

һ�ҵ�Ŀؼ�⣬�HslCommunicationͨ�ʹ�ü�Կ�ٿ�λ�ϵͳ�Ŀ�Դ�룬�һ�DEMO�Ŀ�Դ�롣�ؼ�֧�windows�汾�Ͱ�׿�棬�ף�ֹ�ƽ⣬�֧�棬лл�

Install From Nuget

Install-Package HslControls

�Ȩ˵�

�Բ� http://www.hslcommunication.cn/Cooperation

�Ȩ� � �֧�VIPȺ �Ի�ü�룬֧�ֳ�ʱ�ʹ�á�

�Ȩ�Դ�룩:

  1. ǩ�ͬ�
  2. �֧�΢�ţ�п�ԡ�
  3. �Ʊ�Ŀǰ�ֵ˰�Ʊ�
  4. � HslControls�˿Ⱥ �Դ�ͳ�룬�֧�ָ�¡�
  5. ע�git�˻�
  6. רҵ�ѵ�⸶�ѣ�1000Ԫ�1Сʱ�ѵ�ؼ�ʹ�ã�ؼ�

�뼤�

�ij�ĵط�뼤�뼴�ɡ�

    static class Program
    {
        /// <summary>
        /// Ӧ�ó�ڵ㡣
        /// </summary>
        [STAThread]
        static void Main( )
        {
            // ע�ؼ�ʾ�ע�ʧ�ܣ�Ŀؼ�Ȼֻ�ʹ�8�Сʱ
            bool isSuccess = HslControls.Authorization.SetAuthorizationCode( "�Ȩ�" );
            if (!isSuccess)
            {
                Console.WriteLine( "ע�ʧ�" );
            }

            Application.EnableVisualStyles( );
            Application.SetCompatibleTextRenderingDefault( false );
            Application.Run( new FormLoad( ) );
        }
    }

�׿�İ汾�MainActivity�뼴�

        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            SetContentView(Resource.Layout.activity_main);
            Android.Support.V7.Widget.Toolbar toolbar = FindViewById<Android.Support.V7.Widget.Toolbar>(Resource.Id.toolbar);
            SetSupportActionBar(toolbar);

            FloatingActionButton fab = FindViewById<FloatingActionButton>(Resource.Id.fab);
            fab.Click += FabOnClick;

            DrawerLayout drawer = FindViewById<DrawerLayout>(Resource.Id.drawer_layout);
            ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(this, drawer, toolbar, Resource.String.navigation_drawer_open, Resource.String.navigation_drawer_close);
            drawer.AddDrawerListener(toggle);
            toggle.SyncState();

            NavigationView navigationView = FindViewById<NavigationView>(Resource.Id.nav_view);
            navigationView.SetNavigationItemSelectedListener(this);

			// code here
            bool isSuccess = HslControls.Authorization.SetAuthorizationCode( "�Ȩ�" );
            if (!isSuccess)
            {
                Console.WriteLine( "ע�ʧ�" );
            }
        }

Demo

�ʵ�ֵĿؼ�ʾ�ЩΪ�ͼ�ʵ�Ҫ�Լ�demo�У�demo�֧�8Сʱ�

�׿�

Picture Picture Picture Picture

�wpf�汾�Ľ�

Picture

�winform�汾�Ľ�

Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture Picture

Explore related projects

Loading…