コード例 #1
0
    public AdditionServerComponent(ushort subsystem, byte node, byte component)
    {
        jausRouter = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List<Service>();

        /// Instantiate services
        urn_jaus_example_addition_server_1_0.AdditionServerServiceDefService pAdditionServerServiceDefService = new urn_jaus_example_addition_server_1_0.AdditionServerServiceDefService(jausRouter);

        /// Add all the Services for the Component
        serviceList.Add(pAdditionServerServiceDefService);
    }
コード例 #2
0
    public AdditionServerComponent(ushort subsystem, byte node, byte component)
    {
        jausRouter  = new JausRouter(new JausAddress(subsystem, node, component), ieHandler);
        serviceList = new List <Service>();

        /// Instantiate services
        urn_jaus_example_addition_server_1_0.AdditionServerServiceDefService pAdditionServerServiceDefService = new urn_jaus_example_addition_server_1_0.AdditionServerServiceDefService(jausRouter);


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