Inheritance: CloverDeviceConfiguration
 public TestCloverDevice(TestCloverDeviceConfiguration configuration)
     : this(configuration.getMessagePackageName())
 {
     transport = new TestCloverTransport();
 }
        private void ExamplePOSForm_Load(object sender, EventArgs e)
        {
            //MessageBox.Show("Would ");
            // what to do in the background thread
            //CloverDeviceConfiguration config = new USBCloverDeviceConfiguration("__deviceID__");
            CloverDeviceConfiguration config = new TestCloverDeviceConfiguration();
            cloverConnector = new CloverConnector(config);

            cloverConnector.Connections += this;
            cloverConnector.Devices += this;

            cloverConnector.Sales += this;
            cloverConnector.Voids += this;
            cloverConnector.ManualRefunds += this;

            Store = new Store();
            Store.AvailableItems.Add(new POSItem("abc123", "Hamburger ", 239));
            Store.AvailableItems.Add(new POSItem("def456", "Cheeseburger ", 269));
            Store.AvailableItems.Add(new POSItem("ace135", "Dbl. Hamburger ", 329));
            Store.AvailableItems.Add(new POSItem("fda321", "Dbl. Cheeseburger ", 379));
            Store.AvailableItems.Add(new POSItem("fdc742", "Chicken Sandwich ", 379));
            Store.AvailableItems.Add(new POSItem("cea987", "French Fries - Small ", 129));
            Store.AvailableItems.Add(new POSItem("acb654", "French Fries - Medium ", 159));
            Store.AvailableItems.Add(new POSItem("dfa342", "French Fries - Large ", 179));
            Store.AvailableItems.Add(new POSItem("dea937", "Soft Drink - Small ", 119));
            Store.AvailableItems.Add(new POSItem("afc470", "Soft Drink - Medium ", 139));
            Store.AvailableItems.Add(new POSItem("bce328", "Soft Drink - Large ", 189));
            Store.AvailableItems.Add(new POSItem("eda216", "Gift Card ", 3000));

            foreach (POSItem item in Store.AvailableItems)
            {
                ListViewItem lvi = new ListViewItem();

                lvi.Tag = item;
                lvi.Name = item.Name;

                lvi.Text = item.Name + (item.Price / 100.0).ToString("C2");
                StoreItems.Items.Add(lvi);
            }
            UpdateUI();
        }
 public TestCloverDevice(TestCloverDeviceConfiguration configuration) :
     this(configuration.getMessagePackageName())
 {
     transport = new TestCloverTransport();
 }