Exemplo n.º 1
0
        public Message()
        {
            this._headNumber = 1;
            this._messageNumber = 1;
            this._messageTitle = DateTime.Now.Ticks.ToString().Substring(0, 8);

            this._generalParametersPresent = true;
            this._messageTestPresent = true;
            this._numberOfCounters = 0;
            this._numberOfPostdates = 0;
            this._presentTimeCodes = false;
            this._numberOfBarcodes = 0;

            this._messageDirection = MessageDirection.Normal;
            this._horizontalDirection = HorizontalDirection.Normal;
            this._verticalDirection = VerticalDirection.Normal;
            this._tachoMode = TachoMode.No;
            this._manualTrigger = ManualTrigger.Yes;
            this._triggerMode = TriggerMode.Object;
            this._unitForMargins = UnitForMargins.Millimeters;
            this._dinMode = DINMode.No;

            this._mulitTopValue = 0;
            this._objectTopFilter = 1;
            this._tachoDivision = 1;
            this._forwardMargin = 3;
            this._returnMargin = 3;
            this._interval = 3;
            this._printingSpeed = 100;
            this._algorithmNumber = 0;

            this.Lines = new List<Line>();
        }
Exemplo n.º 2
0
        public Message()
        {
            this._headNumber    = 1;
            this._messageNumber = 1;
            this._messageTitle  = DateTime.Now.Ticks.ToString().Substring(0, 8);

            this._generalParametersPresent = true;
            this._messageTestPresent       = true;
            this._numberOfCounters         = 0;
            this._numberOfPostdates        = 0;
            this._presentTimeCodes         = false;
            this._numberOfBarcodes         = 0;

            this._messageDirection    = MessageDirection.Normal;
            this._horizontalDirection = HorizontalDirection.Normal;
            this._verticalDirection   = VerticalDirection.Normal;
            this._tachoMode           = TachoMode.No;
            this._manualTrigger       = ManualTrigger.Yes;
            this._triggerMode         = TriggerMode.Object;
            this._unitForMargins      = UnitForMargins.Millimeters;
            this._dinMode             = DINMode.No;

            this._mulitTopValue   = 0;
            this._objectTopFilter = 1;
            this._tachoDivision   = 1;
            this._forwardMargin   = 3;
            this._returnMargin    = 3;
            this._interval        = 3;
            this._printingSpeed   = 100;
            this._algorithmNumber = 0;

            this.Lines = new List <Line>();
        }