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
| using System;
| using System.Collections;
| using System.ComponentModel;
| using System.Data;
| using System.Web;
| using System.Web.Services;
| using System.Web.Services.Protocols;
|
| namespace CCSTrace
| {
| /// <summary>
| /// Summary description for Service1
| /// </summary>
| [WebService(Namespace = "http://tempuri.org/")]
| [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
| [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 Service1()
| {
| /*
| if ( _CCSMain == null )
| _CCSMain = new CCSTrace.CCS.CCSMain();
| * */
| }
|
| [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)
| {
| 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);
| //_CCSMain.AcceptEvent(_Record);
| CCSTrace.CCS.CCSMain.Instance().AcceptEvent(_Record);
| }
|
|
| }
| }
|
|