| | |
| | | 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
|
| | | {
|
| | |
| | | [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()
|
| | |
| | | }
|
| | |
|
| | | [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);
|
| | | }
|
| | |
|
| | |
|