Exemple #1
0
 public ApprovalSignatureMicrostation(ISignatureLibraryApp signatureLibrary, StampIdentifier stampIdentifier,
                                      Func <ISignatureLibraryApp, IResultAppValue <IStampFieldMicrostation> > insertSignatureFunc,
                                      IStampTextField departmentApproval, IStampTextField responsiblePerson, IStampTextField dateSignature)
     : this(signatureLibrary, stampIdentifier, GetNotInitializedSignature(responsiblePerson.MaxLengthWord), insertSignatureFunc,
            departmentApproval, responsiblePerson, dateSignature)
 {
 }
Exemple #2
0
 /// <summary>
 /// Сформировать строку с подписью согласования согласно идентификатору Microstation
 /// </summary>
 private IResultAppValue <IStampApproval> GetStampApprovalById(IStampTextFieldMicrostation responsiblePerson,
                                                               Func <ISignatureLibraryApp, IResultAppValue <IStampFieldMicrostation> > insertSignatureFunc,
                                                               IStampTextField actionType, IStampTextField dateSignature) =>
 SignaturesSearching.FindByIdOrFullNameOrRandom(responsiblePerson.ElementStamp.AttributePersonId,
                                                responsiblePerson.MaxLengthWord, PersonId).
 ResultValueOk(personSignature => new ApprovalSignatureMicrostation(personSignature, _stampIdentifier, insertSignatureFunc, actionType,
                                                                    responsiblePerson, dateSignature));
 /// <summary>
 /// Сформировать строку с подписью изменений согласно идентификатору Microstation
 /// </summary>
 private static IResultAppValue <IStampChange> GetStampChangeById(ISignatureLibraryApp personSignature, StampIdentifier stampIdentifier,
                                                                  Func <ISignatureLibraryApp, IResultAppValue <IStampFieldMicrostation> > insertSignatureFunc,
                                                                  IStampTextField numberChange, IStampTextField numberOfPlots, IStampTextField typeOfChange,
                                                                  IStampTextField documentChange, IStampTextField dateChange) =>
 new ChangeSignatureMicrostation(personSignature, stampIdentifier, insertSignatureFunc, numberChange, numberOfPlots,
                                 typeOfChange, documentChange, dateChange).
 Map(stampChange => new ResultAppValue <IStampChange>(stampChange));
Exemple #4
0
 public ApprovalChiefSignatureWord(ISignatureLibraryApp signatureLibrary, StampIdentifier stampIdentifier, IStampFieldWord signature,
                                   IStampTextField responsiblePerson, IStampTextField department)
     : base(signatureLibrary, stampIdentifier, signature)
 {
     ResponsiblePerson = responsiblePerson ?? throw new ArgumentNullException(nameof(responsiblePerson));
     Department        = department ?? throw new ArgumentNullException(nameof(department));
 }
 public ChangeSignatureMicrostation(ISignatureLibraryApp signatureLibrary, StampIdentifier stampIdentifier,
                                    Func <ISignatureLibraryApp, IResultAppValue <IStampFieldMicrostation> > insertSignatureFunc,
                                    IStampTextField numberChange, IStampTextField numberOfPlots, IStampTextField typeOfChange,
                                    IStampTextField documentChange, IStampTextField dateChange)
     : this(signatureLibrary, stampIdentifier, GetNotInitializedSignature(signatureLibrary?.PersonInformation.Surname),
            insertSignatureFunc, numberChange, numberOfPlots, typeOfChange, documentChange, dateChange)
 {
 }
Exemple #6
0
 public ApprovalChangeSignatureWord(ISignatureLibraryApp signatureLibrary, StampIdentifier stampIdentifier, IStampFieldWord signature, IStampTextField actionType,
                                    IStampTextField responsiblePerson, IStampTextField dateSignature)
     : base(signatureLibrary, stampIdentifier, signature)
 {
     ResponsiblePerson = responsiblePerson ?? throw new ArgumentNullException(nameof(responsiblePerson));
     ActionType        = actionType;
     DateSignature     = dateSignature;
 }
Exemple #7
0
 public ApprovalSignatureMicrostation(ISignatureLibraryApp signatureLibrary, StampIdentifier stampIdentifier, IResultAppValue <IStampFieldMicrostation> signature,
                                      Func <ISignatureLibraryApp, IResultAppValue <IStampFieldMicrostation> > insertSignatureFunc,
                                      IStampTextField departmentApproval, IStampTextField responsiblePerson, IStampTextField dateSignature)
     : base(signatureLibrary, stampIdentifier, signature, insertSignatureFunc)
 {
     ResponsiblePerson = responsiblePerson ?? throw new ArgumentNullException(nameof(responsiblePerson));
     Department        = departmentApproval;
     DateSignature     = dateSignature;
 }
 public ChangeSignatureMicrostation(ISignatureLibraryApp signatureLibrary, StampIdentifier stampIdentifier, IResultAppValue <IStampFieldMicrostation> signature,
                                    Func <ISignatureLibraryApp, IResultAppValue <IStampFieldMicrostation> > insertSignatureFunc,
                                    IStampTextField numberChange, IStampTextField numberOfPlots, IStampTextField typeOfChange,
                                    IStampTextField documentChange, IStampTextField dateChange)
     : base(signatureLibrary, stampIdentifier, signature, insertSignatureFunc)
 {
     NumberChange   = numberChange;
     NumberPlots    = numberOfPlots;
     TypeOfChange   = typeOfChange;
     DocumentChange = documentChange;
     DateChange     = dateChange;
 }
 public ChangeSignatureWord(ISignatureLibraryApp signatureLibrary, StampIdentifier stampIdentifier,
                            IStampFieldWord signature, IStampTextField numberChange,
                            IStampTextField numberPlots, IStampTextField typeOfChange, IStampTextField documentChange,
                            IStampTextField dateChange)
     : base(signatureLibrary, stampIdentifier, signature)
 {
     NumberChange   = numberChange;
     NumberPlots    = numberPlots;
     TypeOfChange   = typeOfChange;
     DocumentChange = documentChange;
     DateChange     = dateChange;
 }