Esempio n. 1
0
 public BROFactoryGenerator(ECRLevelOptions ecrOptions) : base(ecrOptions)
 {
     this._ecrOptions     = ecrOptions;
     base._objectType     = ObjectType.BR;
     base._targetDir      = System.IO.Path.Combine(_ecrOptions.GenerationPath, _ecrOptions.Platform, _ecrOptions.Customer, _ecrOptions.Project, _ecrOptions.Ecrno, "Updated", _ecrOptions.Component, "Source", "BRO");
     base._targetFileName = string.Format("{0}BRFactory", Common.InitCaps(_ecrOptions.Component));
 }
 public GenerateActivityClass(Activity activity, ref ECRLevelOptions ecrOptions) : base(ecrOptions)
 {
     this._ecrOptions     = ecrOptions;
     this._activity       = activity;
     base._objectType     = ObjectType.Activity;
     base._targetFileName = "activity";
     base._targetDir      = Path.Combine(_ecrOptions.GenerationPath, _ecrOptions.Platform, _ecrOptions.Customer, _ecrOptions.Project, _ecrOptions.Ecrno, "Updated", _ecrOptions.Component, "Source", "ILBO", activity.Name);
 }
 /// <summary>
 /// Constructor Method
 /// </summary>
 /// <param name="sActivityName">Name of the Activity which will be the Namespace of the Chart class.</param>
 /// <param name="sIlboCode">ILBO Code which will be given as class name.</param>
 public ChartClassGenerator(Activity activity, ILBO ilbo, ref ECRLevelOptions ecrOptions) : base(ecrOptions)
 {
     this._activity       = activity;
     this._ilbo           = ilbo;
     this._ecrOptions     = ecrOptions;
     base._targetFileName = string.Format("{0}_ch", ilbo.Code);
     base._targetDir      = Path.Combine(_ecrOptions.GenerationPath, _ecrOptions.Platform, _ecrOptions.Customer, _ecrOptions.Project, _ecrOptions.Ecrno, "Updated", _ecrOptions.Component, "Source", "ILBO", activity.Name);
 }
Esempio n. 4
0
 public BulkBRGenerator(List <Method> brMethods, ECRLevelOptions ecrOptions) : base(ecrOptions)
 {
     this._brMethods      = brMethods;
     this._ecrOptions     = ecrOptions;
     base._objectType     = ObjectType.Bulk;
     base._targetFileName = string.Format("{0}_bulk", _ecrOptions.Component.ToLower());
     base._targetDir      = System.IO.Path.Combine(_ecrOptions.GenerationPath, _ecrOptions.Platform, _ecrOptions.Customer, _ecrOptions.Project, _ecrOptions.Ecrno, "Updated", _ecrOptions.Component, "Source", "Bulk");
 }
Esempio n. 5
0
 public BROInterfaceGenerator(List <Method> brMethods, ECRLevelOptions ecrOptions) : base(ecrOptions)
 {
     base._objectType     = ObjectType.BR;
     this._ecrOptions     = ecrOptions;
     this._brMethods      = brMethods;
     base._targetDir      = System.IO.Path.Combine(_ecrOptions.GenerationPath, _ecrOptions.Platform, _ecrOptions.Customer, _ecrOptions.Project, _ecrOptions.Ecrno, "Updated", _ecrOptions.Component, "Source", "BRO");
     base._targetFileName = string.Format("I{0}BR", Common.InitCaps(_ecrOptions.Component));
 }
Esempio n. 6
0
 public BROBackendStubGenerator(string backendType, List <Method> brMethods, ECRLevelOptions ecrOptions) : base(ecrOptions)
 {
     this._ecrOptions     = ecrOptions;
     base._objectType     = ObjectType.BR;
     this._backendType    = backendType;
     this._brMethods      = brMethods;
     base._targetDir      = System.IO.Path.Combine(_ecrOptions.GenerationPath, _ecrOptions.Platform, _ecrOptions.Customer, _ecrOptions.Project, _ecrOptions.Ecrno, "Updated", _ecrOptions.Component, "Source", "BRO");
     base._targetFileName = string.Format("{0}BR_{1}", Common.InitCaps(_ecrOptions.Component), Common.InitCaps(backendType));
 }
Esempio n. 7
0
 public GenerateIS(ECRLevelOptions ecrOptions)
 {
     _ecrOptions = ecrOptions;
     _logger     = new Logger(Path.Combine(_ecrOptions.GenerationPath, _ecrOptions.Platform, _ecrOptions.Customer, _ecrOptions.Project, _ecrOptions.Ecrno, string.Format("{0}.txt", _ecrOptions.Ecrno)));
 }
Esempio n. 8
0
 public BROGenerator(List <Method> brMethods, ECRLevelOptions ecrOptions)
 {
     this._brMethods  = brMethods;
     this._ecrOptions = ecrOptions;
 }