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
| using System.ComponentModel;
| using System.Web.Services;
|
| 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 : WebService
| {
|
| public Service1()
| {
| /*
| if ( _CCSMain == null )
| _CCSMain = new CCSTrace.CCS.CCSMain();
| * */
| }
|
| [WebMethod]
| 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 CCS.Object.CcsRecord(ccsid, meter, customername, customertel, addrCity, addrTown, addrRoad,
| addrOther, recallname, recalltel, eventbrief, accepttime, importcase, dept,
| partHicustomer, note);
| //_CCSMain.AcceptEvent(_Record);
| CCS.CcsMain.Instance()?.AcceptEvent(record);
| }
|
|
| }
| }
|
|