示例#1
0
        protected void button6_Click(object sender, EventArgs e)
        {
            BArchiveCalculator      bus  = new BArchiveCalculator();
            IList <ArchiveFieldMap> list = bus.GetArchiveGridSettings();

            list[1].Visible = false;
            bus.SetArchiveGridSettings(list);
        }
示例#2
0
        protected void button2_Click(object sender, EventArgs e)
        {
            PersonRepository   pr  = new PersonRepository(false);
            Person             p   = pr.GetByBarcode(barcodeTb.Text);
            BArchiveCalculator bus = new BArchiveCalculator();

            bus.ArchiveData(1392, 4, p.ID);
        }
示例#3
0
        protected void button7_Click(object sender, EventArgs e)
        {
            BArchiveCalculator     bus   = new BArchiveCalculator();
            ArchiveCalcValuesProxy proxy = bus.GetArchiveValues(1392, 4, 870).First();

            proxy.P1 = "-9";
            proxy.P2 = "-10";
            proxy.P3 = "-10";
            bus.SetArchiveValues(1392, 4, 870, proxy);
        }
示例#4
0
 protected void button1_Click(object sender, EventArgs e)
 {
     BArchiveCalculator       bus   = new BArchiveCalculator();
     PersonAdvanceSearchProxy proxy = new PersonAdvanceSearchProxy()
     {
         PersonIdList = new List <decimal>()
         {
             1, 870, 527
         }
     };
     ArchiveExsitsConditions result = bus.IsArchiveExsits(1392, 4, proxy);
 }
示例#5
0
        protected void button3_Click(object sender, EventArgs e)
        {
            BArchiveCalculator       bus   = new BArchiveCalculator();
            PersonAdvanceSearchProxy proxy = new PersonAdvanceSearchProxy()
            {
                PersonIdList = new List <decimal>()
                {
                    1, 870, 527, 554
                }
            };

            bus.GetArchiveValues(1392, 4, proxy, 0, 10);
        }
示例#6
0
        protected void button5_Click(object sender, EventArgs e)
        {
            BArchiveCalculator bus = new BArchiveCalculator();

            bus.GetArchiveGridSettings();
        }