コード例 #1
0
ファイル: PingComponent.cs プロジェクト: nikola-v/jaustoolset
    public PingComponent(ushort subsystem, byte node, byte component)
    {
        jausRouter = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List<Service>();

        /// Instantiate services
        urn_jts_PingServer_1_0.PingServerService pPingServerService = new urn_jts_PingServer_1_0.PingServerService(jausRouter);
        urn_jts_PingClient_1_0.PingClientService pPingClientService = new urn_jts_PingClient_1_0.PingClientService(jausRouter);

        /// Add all the Services for the Component
        serviceList.Add(pPingServerService);
        serviceList.Add(pPingClientService);
    }
コード例 #2
0
ファイル: PingComponent.cs プロジェクト: winterjr/jaustoolset
    public PingComponent(ushort subsystem, byte node, byte component)
    {
        jausRouter  = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List <Service>();

        /// Instantiate services
        urn_jts_PingServer_1_0.PingServerService pPingServerService = new urn_jts_PingServer_1_0.PingServerService(jausRouter);
        urn_jts_PingClient_1_0.PingClientService pPingClientService = new urn_jts_PingClient_1_0.PingClientService(jausRouter);


        /// Add all the Services for the Component
        serviceList.Add(pPingServerService);
        serviceList.Add(pPingClientService);
    }