// Token: 0x06000271 RID: 625 RVA: 0x0000FF44 File Offset: 0x0000E144 public void writeToUnitechnik(TextWriter writer, int ironNumber) { ItDebug.assert(this.status == WireItem.Status.RelativeToSteelmat, "Can't write wire items before their coordinates are transformed to be relative to steelmats origin"); writer.Write(CNCDataBase.paddedInt3(ironNumber) + " "); writer.Write("000 "); writer.Write(CNCDataBase.paddedInt(this.ReinforcementType, 1, false) + " "); writer.Write(this.SteelQuality + " "); writer.Write(CNCDataBase.paddedInt(this.NumberOfIrons, 5, false) + " "); writer.Write(CNCDataBase.toMMString3(this.WireDiameter) + " "); writer.Write(CNCDataBase.toMMString5(this.Length, false) + " "); writer.Write(CNCDataBase.toSignedMMString5(this.StartPoint.x) + " "); writer.Write(CNCDataBase.toSignedMMString5(this.StartPoint.y) + " "); writer.Write(CNCDataBase.toSignedMMString5((double)this.Pitch) + " "); writer.Write(CNCDataBase.toMMString((double)this.Angle, 3, true) + " "); writer.Write(CNCDataBase.padString(this.ArticleNumber, 10) + " "); writer.Write(this.AutomaticProduction + writer.NewLine); writer.Write(CNCDataBase.paddedInt3(this.SpacerType) + " "); writer.Write("000 "); writer.Write("000 "); writer.Write(CNCDataBase.toMMString5((double)this.SpacerStartPoint, false) + " "); writer.Write(CNCDataBase.toMMString5((double)this.SpacerPitch, false) + " "); writer.Write(CNCDataBase.toMMString5(this.StartPoint.z, false) + " "); writer.Write(this.AdditionalStore + writer.NewLine); }
// Token: 0x06000016 RID: 22 RVA: 0x00002C84 File Offset: 0x00000E84 public static string toMMString5(double value, bool sign = false) { return(CNCDataBase.toMMString(value, 5, sign)); }
// Token: 0x06000018 RID: 24 RVA: 0x00002CBC File Offset: 0x00000EBC public static string toMMString3(double value) { return(CNCDataBase.toMMString(value, 3, false)); }
// Token: 0x06000015 RID: 21 RVA: 0x00002C68 File Offset: 0x00000E68 public static string toSignedMMString(double value, int digits) { return(CNCDataBase.toMMString(value, digits, true)); }