예제 #1
0
 public ZigbeeApi(Ztool ztool, System.IO.Ports.SerialPort sp)
 {
     Output      = new ZigbeeOutput();
     Input       = new ZigbeeInput();
     Device      = new ZigbeeDevice();
     myAssocList = new AssocList();
     myZtool     = ztool;
     Instance    = this;
     Uart        = sp;
 }
예제 #2
0
 public ZigbeeApp(Ztool zt, System.IO.Ports.SerialPort sp)
 {
     myZigbeeApi = new ZigbeeApi(zt, sp);
     myZtool     = zt;
 }