public CertificationNominateLablePrint(CertificationNominatePrintModel model)
 {
     this.PaperSize = (Dictionary <string, PaperSizeModel>)SettingFromString(PrinterSettingsModel.PaperSize);
     this.model     = model;
     _lvlWeight     = $"{model.LvlWeight.ToString()} kg";
     _selfWeight    = $"{model.SelfWeight.ToString()} kg";
     _maxWeight     = $"{model.MaxWeight.ToString()} kg";
     InitialSettingsAndPrint();
 }
Beispiel #2
0
        private void AddToPrint()
        {
            CertificationNominatePrintModel model = new CertificationNominatePrintModel
            {
                Copies     = this._copies,
                Date       = this._date,
                Name       = this._name,
                SelfWeight = this._selfWeight,
                LvlWeight  = this._lvlWeight,
                MaxWeight  = this._maxWeight
            };
            CertificationNominateLablePrint print = new CertificationNominateLablePrint(model);

            SavedModel.certificationNominatePrintModel = model;
        }