C# 클래스 csCommon.Types.DataServer.PoI.WebApiService

상속: PoiService
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
AppState AppStateSettings
ShapeAccentColor Color
api csWebDotNetLib.csWebApi
sub csWebDotNetLib.Subscription

공개 메소드들

메소드 설명
CreateWebApiService ( csWebApi api, string name, Layer layer, System.Guid id, string folder = "", string relativeFolder = "" ) : WebApiService
GetFeature ( Newtonsoft.Json.Linq.JObject o ) : Feature
GetFeatureFromPoi ( global p ) : Feature
GetMenuItems ( ) : List
OpenFileSync ( bool saveDsd = true ) : Exception

Open the file synchronously.

Subscribe ( Mode serviceMode ) : void
SyncPoi ( global p, Layer l, Feature f, csWebApi api ) : void

보호된 메소드들

메소드 설명
OnFileOpenedEvent ( FileOpenedEventArgs e ) : void
ProcessFile ( ) : Exception

Process the file. Returns an exception iff this did not work, and null otherwise. Perhaps a little ugly.

비공개 메소드들

메소드 설명
AddFeature ( Feature f, System.Guid id, Layer layer ) : global::DataServer.PoI
GetColor ( string s ) : Color
RestartService ( ) : void

Stops and then starts the service again.

UpdateFeature ( Feature f, global p, Layer layer ) : void

메소드 상세

CreateWebApiService() 공개 정적인 메소드

public static CreateWebApiService ( csWebApi api, string name, Layer layer, System.Guid id, string folder = "", string relativeFolder = "" ) : WebApiService
api csWebDotNetLib.csWebApi
name string
layer IO.Swagger.Model.Layer
id System.Guid
folder string
relativeFolder string
리턴 WebApiService

GetFeature() 공개 정적인 메소드

public static GetFeature ( Newtonsoft.Json.Linq.JObject o ) : Feature
o Newtonsoft.Json.Linq.JObject
리턴 IO.Swagger.Model.Feature

GetFeatureFromPoi() 공개 정적인 메소드

public static GetFeatureFromPoi ( global p ) : Feature
p global
리턴 IO.Swagger.Model.Feature

GetMenuItems() 공개 메소드

public GetMenuItems ( ) : List
리턴 List

OnFileOpenedEvent() 보호된 메소드

protected OnFileOpenedEvent ( FileOpenedEventArgs e ) : void
e FileOpenedEventArgs
리턴 void

OpenFileSync() 공개 메소드

Open the file synchronously.
public OpenFileSync ( bool saveDsd = true ) : Exception
saveDsd bool Whether to save a data description file (dsd) too.
리턴 System.Exception

ProcessFile() 보호된 메소드

Process the file. Returns an exception iff this did not work, and null otherwise. Perhaps a little ugly.
protected ProcessFile ( ) : Exception
리턴 System.Exception

Subscribe() 공개 메소드

public Subscribe ( Mode serviceMode ) : void
serviceMode Mode
리턴 void

SyncPoi() 공개 정적인 메소드

public static SyncPoi ( global p, Layer l, Feature f, csWebApi api ) : void
p global
l IO.Swagger.Model.Layer
f IO.Swagger.Model.Feature
api csWebDotNetLib.csWebApi
리턴 void

프로퍼티 상세

AppState 보호되어 있는 정적으로 프로퍼티

protected static AppStateSettings AppState
리턴 AppStateSettings

ShapeAccentColor 보호되어 있는 프로퍼티

protected Color ShapeAccentColor
리턴 Color

api 보호되어 있는 프로퍼티

protected csWebApi,csWebDotNetLib api
리턴 csWebDotNetLib.csWebApi

sub 보호되어 있는 프로퍼티

protected Subscription,csWebDotNetLib sub
리턴 csWebDotNetLib.Subscription