public HPGLFunctions(double Factor)
     : base()
 {
     this.Factor = Factor;
     Output      = Module_Main.outp;
     TextHndlr   = new HPGLTextHandler();
 }
 /// <summary>
 /// Default constructor. Sets properties to default value.
 /// </summary>
 public HPGLFunctions()
     : base()
 {
     Factor    = 100d;
     Output    = Module_Main.outp;
     TextHndlr = new HPGLTextHandler();
 }
Beispiel #3
0
 public Conversion(string FileName, Class_Program Prog, Class_Output Output, BaseFunctions Functions, Dictionary <string, Func <string, bool> > FunctionDic)
 {
     this.FileName    = FileName;
     this.Prog        = Prog;
     this.Output      = Output;
     TextHndlr        = new HPGLTextHandler();
     this.Functions   = Functions;
     this.FunctionDic = FunctionDic;
     LogFile          = new LogFileOutput(FileName);
 }
Beispiel #4
0
 public Conversion(string FileName, Class_Program Prog, Class_Output Ouput, BaseFunctions Functions)
 {
     this.FileName  = FileName;
     this.Prog      = Prog;
     this.Output    = Module_Main.outp;
     TextHndlr      = new HPGLTextHandler();
     this.Functions = Functions;
     FunctionDic    = TextHndlr.ConstructDictionary(Functions);
     LogFile        = new LogFileOutput(FileName.Substring(0, FileName.IndexOf('.')) + ".txt");
 }
Beispiel #5
0
 public Conversion(string FileName, Class_Program Prog, Class_Output Output)
 {
     this.FileName = FileName;
     this.Prog     = Prog;
     this.Output   = Output;
     TextHndlr     = new HPGLTextHandler();
     Functions     = new BaseFunctions(this.Output);
     FunctionDic   = TextHndlr.ConstructDictionary(Functions);
     LogFile       = new LogFileOutput(FileName);
 }
Beispiel #6
0
 public Conversion(string FileName, Class_Program Prog)
 {
     this.FileName = FileName;
     this.Prog     = Prog;
     Output        = Module_Main.outp;
     TextHndlr     = new HPGLTextHandler();
     Functions     = new BaseFunctions(Output);
     FunctionDic   = TextHndlr.ConstructDictionary(Functions);
     LogFile       = new LogFileOutput(FileName);
 }
 public HPGLFunctions(Class_Output Output, double Factor)
     : base(Output)
 {
     this.Factor = Factor;
     TextHndlr   = new HPGLTextHandler();
 }
 public HPGLFunctions(Class_Output Output)
     : base(Output)
 {
     Factor    = 100d;
     TextHndlr = new HPGLTextHandler();
 }