示例#1
0
        public Device()
        {
            com = ComFactory.MakeDefault();
            com.setOnRead(onComRead);

            EventBulletin.Subscribe(EventBulletin.Event.CLOSE, (o, e) => { onClose(); });
        }