예제 #1
0
파일: LabService.cs 프로젝트: meimeic/XYS
        static LabService()
        {
            ImageServer = Config.GetImageServer();
            WorkerCount = Config.GetWorkerCount();
            LOG = LogManager.GetLogger("LabReport");

            ServiceInstance = new LabService();
        }
예제 #2
0
파일: LisService.cs 프로젝트: meimeic/XYS
        private LisService()
        {
            this.LabService = LabService.LService;
            this.LabService.HandleCompleteEvent += this.PrintAndSave;

            this.Serializer = new XmlSerializer(typeof(LabApplyInfo));
            this.FRClient = new FRService.LabPDFSoapClient("LabPDFSoap");
            this.MongoClient = new MongoService.LabMongoSoapClient("LabMongoSoap");
        }
예제 #3
0
파일: Form1.cs 프로젝트: meimeic/XYS
 public Form1()
 {
     InitializeComponent();
     this.service = LabService.LService;
     this.service.HandleCompleteEvent += this.PrintPDF;
     //this.PDFClient = new FRService.LabPDFSoapClient("LabPDFSoap");
     //this.MongoClient = new MongoService.LabMongoSoapClient("LabMongoSoap");
     this.ReportClient = new ReportService.ReportStatusSoapClient("ReportStatusSoap");
     this.m_connectionString = ConfigurationManager.ConnectionStrings["LabMSSQL"].ConnectionString;
 }