Esempio n. 1
0
        public void Set(string catname, string fdname, int num, double price)
        {
            var cat = MaterialCommodityData.CategoryFrom(catname);

            if (cat.HasValue)
            {
                Set(cat.Value, fdname, num, price);
            }
            else
            {
                System.Diagnostics.Debug.WriteLine("Unknown Cat " + catname);
            }
        }
Esempio n. 2
0
        public void Change(string catname, string fdname, int num, long price, bool ignorecatonsearch = false)
        {
            var cat = MaterialCommodityData.CategoryFrom(catname);

            if (cat.HasValue)
            {
                Change(cat.Value, fdname, num, price, ignorecatonsearch);
            }
            else
            {
                System.Diagnostics.Debug.WriteLine("Unknown Cat " + catname);
            }
        }