コード例 #1
0
 public FakeNobreak(string _vid, string _pid)
 {
     vid = _vid;
     pid = _pid;
     MyDeviceManagement = new DeviceManagement();
     myOutputReport     = new Hid.OutputReport();
     myInputReport      = new Hid.InputReport();
 }
コード例 #2
0
        //public event FalhaDeRedeEventHandler FalhaDeRedeEvent;
        //public event BateriaOkEventHandler BateriaOkEvent;
        ////public event DesligamentoSistema;
        //public event HibernacaoSistema;
        //public event RetornoSistema;
        //public event TesteSolicitado;
        //public event RetornoTeste;
        //public event ModoBypass;
        //public event AnormalidadeEventHandler AnormalidadeEvent;

        public FakeNobreak()
        {
            vid = "0483";
            pid = "0035";
            MyDeviceManagement = new DeviceManagement();
            myOutputReport     = new Hid.OutputReport();
            myInputReport      = new Hid.InputReport();
        }