ulysseskao
2016-04-29 b0c18d369abd06075c83759b0e19823c2a11d716
CCSTrace/Service1.asmx.cs
@@ -1,10 +1,5 @@
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Web;
using System.ComponentModel;
using System.Web.Services;
using System.Web.Services.Protocols;
namespace CCSTrace
{
@@ -16,7 +11,7 @@
    [ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    [System.Web.Script.Services.ScriptService]
    public class Service1 : System.Web.Services.WebService
    public class Service1 : WebService
    {
        
        public Service1() 
@@ -28,15 +23,15 @@
        }
        [WebMethod]
        public void AcceptCase(String _CCSID, String _METER, String _CUSTOMERNAME, String _CUSTOMERTEL, String _ADDR_CITY, String _ADDR_TOWN, String _ADDR_ROAD,
                         String _ADDR_OTHER, String _RECALLNAME, String _RECALLTEL, int _EVENTBRIEF, String _ACCEPTTIME, int _IMPORTCASE, String _DEPT,
                         int _PartHicustomer, String _NOTE)
        public void AcceptCase(string ccsid, string meter, string customername, string customertel, string addrCity, string addrTown, string addrRoad,
                         string addrOther, string recallname, string recalltel, int eventbrief, string accepttime, int importcase, string dept,
                         int partHicustomer, string note)
        {
            CCS.Object.CCSRecord _Record = new CCSTrace.CCS.Object.CCSRecord(_CCSID, _METER, _CUSTOMERNAME, _CUSTOMERTEL, _ADDR_CITY, _ADDR_TOWN, _ADDR_ROAD,
                                                                             _ADDR_OTHER, _RECALLNAME, _RECALLTEL, _EVENTBRIEF, _ACCEPTTIME, _IMPORTCASE, _DEPT,
                                                                             _PartHicustomer, _NOTE);
            CCS.Object.CcsRecord record = new CCS.Object.CcsRecord(ccsid, meter, customername, customertel, addrCity, addrTown, addrRoad,
                                                                             addrOther, recallname, recalltel, eventbrief, accepttime, importcase, dept,
                                                                             partHicustomer, note);
            //_CCSMain.AcceptEvent(_Record);
            CCSTrace.CCS.CCSMain.Instance().AcceptEvent(_Record);
            CCSTrace.CCS.CcsMain.Instance().AcceptEvent(record);
        }