Пример #1
0
        static void Main(string[] args)
        {
            RFIDService o = new RFIDService();

            ModuleInfo mi = o.getModuleInfo(new string[] { "HL1610250002", "" });

            Console.ReadKey();
        }
Пример #2
0
        private void Bt_changeStatusRFID_Click(object sender, RoutedEventArgs e)
        {
            IList <object> selected = new List <object>();

            foreach (var i in gd_RFID.SelectedItems)
            {
                selected.Add(i);
            }

            foreach (var i in selected)
            {
                RFIDService.changeStatus(Convert.ToInt32(i.GetType().GetProperty("id").GetValue(i, null)));
            }

            Gd_RFID_Loaded(sender, e);
        }
Пример #3
0
 public RFIDController(IRFIDService objSvc, IStockDetailsService objSDC)
 {
     this.objSvc = objSvc as RFIDService;
     this.objSDC = objSDC as StockDetailsService;
 }
Пример #4
0
 private void Bt_addRFID_Click(object sender, RoutedEventArgs e)
 {
     RFIDService.insRFID();
     Gd_RFID_Loaded(sender, e);
 }
Пример #5
0
 private void Gd_RFID_Loaded(object sender, RoutedEventArgs e)
 {
     gd_RFID.ItemsSource = RFIDService.getAllRFIDWatch();
 }