Exemple #1
0
        //public override Task OnReconnected()
        //{
        //    // Add your own code here.
        //    // For example: in a chat application, you might have marked the
        //    // user as offline after a period of inactivity; in that case
        //    // mark the user as online again.
        //    return base.OnReconnected();
        //}

        public ChartHub(ChartService chartService, DummyPlcService dummyPlcService)
        {
            _chartService    = chartService;
            _dummyPlcService = dummyPlcService;
        }
 //public override Task OnReconnected()
 //{
 //    // Add your own code here.
 //    // For example: in a chat application, you might have marked the
 //    // user as offline after a period of inactivity; in that case
 //    // mark the user as online again.
 //    return base.OnReconnected();
 //}
 public ChartHub(ChartService chartService, DummyPlcService dummyPlcService)
 {
     _chartService = chartService;
     _dummyPlcService = dummyPlcService;
 }