public TestExtension()
    {
        var version   = new Yaskawa.Ext.Version(1, 0, 0);
        var languages = new HashSet <string> {
            "en", "ja"
        };

        extension = new Yaskawa.Ext.Extension("mylaunchkey",
                                              "yii.test-extension",
                                              version, "YII", languages);
        Console.WriteLine("API version: " + extension.apiVersion());

        pendant    = extension.pendant();
        controller = extension.controller();
        Console.WriteLine("Controller software version:" + controller.softwareVersion());
    }
 internal Controller(Extension ext, TProtocol protocol, long id)
 {
     extension = ext;
     client    = new API.Controller.Client(protocol);
     this.id   = id;
 }
Exemple #3
0
 internal Pendant(Extension ext, TProtocol protocol, long id)
 {
     extension = ext;
     client    = new API.Pendant.Client(protocol);
     this.id   = id;
 }