Exemplo n.º 1
0
		// Token: 0x06000270 RID: 624 RVA: 0x0000FE94 File Offset: 0x0000E094
		public void sendToUniwrapper()
		{
			ItDebug.assert(this.status == WireItem.Status.RelativeToSteelmat, "Can't write wire items before their coordinates are transformed to be relative to steelmats origin");
			int diameter = CNCDataBase.convertToMM(this.WireDiameter);
			int length = CNCDataBase.convertToMM(this.Length);
			int[] startpoint = CNCDataBase.toPointArray(this.StartPoint);
			int pitch = CNCDataBase.convertToMM((double)this.Pitch);
			int spacerStartpoint = CNCDataBase.convertToMM((double)this.SpacerStartPoint);
			int spacerPitch = CNCDataBase.convertToMM((double)this.SpacerPitch);
			ItUniWrapperImpl.AddCFSRodstock(this.ReinforcementType, this.SteelQuality, this.NumberOfIrons, diameter, length, startpoint, pitch, this.Angle, this.ArticleNumber, this.AutomaticProduction, this.SpacerType, spacerStartpoint, spacerPitch, this.AdditionalStore);
		}
Exemplo n.º 2
0
        // Token: 0x060001A1 RID: 417 RVA: 0x0000B7F8 File Offset: 0x000099F8
        internal override void WriteToUnitechnik(ICollection <ExportReinfData> exportedElements)
        {
            int[] pos      = CNCDataBase.toPointArray(base.PosPalette);
            int   maxLen   = CNCDataBase.convertToMM(this._maxLength);
            int   maxWidth = CNCDataBase.convertToMM(this._maxWidth);

            ItUniWrapperImpl.AddSteelmat(this._cfsName, maxLen, maxWidth, this._toTurn, this._stopOnTurn, this._matType, pos);
            foreach (WireItem wireItem in base.WireItemsMajor.Union(base.WireItemsMinor))
            {
                wireItem.sendToUniwrapper();
            }
            exportedElements.Add(new ExportReinfData
            {
                Id         = base.FabricSheet.Id,
                ExportedAs = ExportReinfData.ExportType.AsCFS
            });
        }