C# Class DamageAssessment.RealTimeHub

Inheritance: SignalR.Hubs.Hub
ファイルを表示 Open project: dtsagile/dmg-signalr

Private Properties

Property Type Description

Public Methods

Method Description
AddDamageLocation ( double lat, double lng, string pointType ) : void

Adds damage location to db and pushes it to clients

GetMapPoints ( ) : object

Gets all map points

RealTimeHub ( ) : System
UpdateMapExtent ( double lat, double lng, int zoom ) : void

Recieves a map extent and broadcasts it to clients

Method Details

AddDamageLocation() public method

Adds damage location to db and pushes it to clients
public AddDamageLocation ( double lat, double lng, string pointType ) : void
lat double
lng double
pointType string
return void

GetMapPoints() public method

Gets all map points
public GetMapPoints ( ) : object
return object

RealTimeHub() public method

public RealTimeHub ( ) : System
return System

UpdateMapExtent() public method

Recieves a map extent and broadcasts it to clients
public UpdateMapExtent ( double lat, double lng, int zoom ) : void
lat double
lng double
zoom int
return void