예제 #1
0
        //
        private void initializeRequest()
        {
            communication = new Communications();

            authentication          = new authentication();
            authentication.user     = config["username"];
            authentication.password = config["password"];

            requestDirectory  = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            cnpXmlSerializer = new cnpXmlSerializer();
            cnpTime          = new cnpTime();
            cnpFile          = new cnpFile();
        }
예제 #2
0
        //
        private void initializeRequest()
        {
            communication = new Communications(config);

            authentication          = new authentication();
            authentication.user     = config["username"];
            authentication.password = config["password"];

            requestDirectory  = Path.Combine(config["requestDirectory"], "Requests") + Path.DirectorySeparatorChar;
            responseDirectory = Path.Combine(config["responseDirectory"], "Responses") + Path.DirectorySeparatorChar;

            cnpXmlSerializer = new cnpXmlSerializer();
            cnpTime          = new cnpTime();
            cnpFile          = new cnpFile();
        }
예제 #3
0
 public void setCnpXmlSerializer(cnpXmlSerializer cnpXmlSerializer)
 {
     this.cnpXmlSerializer = cnpXmlSerializer;
 }