示例#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 setCnpFile(cnpFile cnpFile)
 {
     this.cnpFile = cnpFile;
 }