Beispiel #1
0
    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);
    }
Beispiel #2
0
    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);
    }