Exemplo n.º 1
0
 public HPGLFunctions(double Factor)
     : base()
 {
     this.Factor = Factor;
     Output      = Module_Main.outp;
     TextHndlr   = new HPGLTextHandler();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Default constructor. Sets properties to default value.
 /// </summary>
 public HPGLFunctions()
     : base()
 {
     Factor    = 100d;
     Output    = Module_Main.outp;
     TextHndlr = new HPGLTextHandler();
 }
Exemplo n.º 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);
 }
Exemplo n.º 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");
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 7
0
 public HPGLFunctions(Class_Output Output, double Factor)
     : base(Output)
 {
     this.Factor = Factor;
     TextHndlr   = new HPGLTextHandler();
 }
Exemplo n.º 8
0
 public HPGLFunctions(Class_Output Output)
     : base(Output)
 {
     Factor    = 100d;
     TextHndlr = new HPGLTextHandler();
 }