MCS_Core /MCSApp/WebForm1.aspx.cs

Language C# Lines 56
MD5 Hash c6ebc9486bd6c80dbe464d6d801e9ab0
Repository https://github.com/cancelpj/MCS_Core.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;
using MCSApp.Common;
using System.Xml;

namespace MCSApp
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataSet ds = new DataSet();
            string tmp = Database.DataCode("select ProcessConfig from dbo.TA_Procedure,TC_PlanProcedure where ProcedureID=TA_Procedure.ID AND TC_PlanProcedure.PlanID='2'");

            XmlTextReader reader = new XmlTextReader(tmp, XmlNodeType.Document, null);
            ds.ReadXml(reader);
            GridView1.DataSource = ds.Tables[0];
            GridView1.DataBind();

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            //WSProcedureCtrl.ProcedureCtrl c = new MCSApp.WSProcedureCtrl.ProcedureCtrl();
            //WSProductTrace.ProductTrace P = new MCSApp.WSProductTrace.ProductTrace();

           // Response.Write(c.CheckModel("029650583a0110040030".Substring(0,9), "00001"));
           // Response.Write(c.CheckModelByBarCode("029650583a0110040031", "00001"));
            //string msg;


            //Response.Write(c.CheckProcedure("029650583a0110040033", string.Empty, 1, out msg) + "<br>" + msg);


            //Response.Write(P.SaveProduct("00001", "029650583a0110040030", "029650583", "", out msg));

            //Response.Write(c.SaveProcessBegin("029650583a0110040030", "装配", "00001", DateTime.Today, out msg) + "<br>" + msg);

            //Response.Write(c.SaveProcessEnd("029650583a0110040030", "装配", 0,"","", DateTime.Today, out msg) + "<br>" + msg);

            Response.Write(FINGU.MCS.Encrypt.DecryptString("Z+zGd9P/aExq2MJZsL4kFA=="));
        }
    }
}
Back to Top