| Línia 30: | Línia 30: | ||
=== TAGS === | === TAGS === | ||
==== TAGS GENERIC INFO ==== | |||
<pre> | <pre> | ||
| Línia 44: | Línia 45: | ||
N:1 | N:1 | ||
Compañia que ha creado el dibujo. | Compañia que ha creado el dibujo. | ||
</pre> | |||
==== TAGS MACHINE INFO ==== | |||
<pre> | |||
*Machine | *Machine | ||
| Línia 282: | Línia 288: | ||
*JacqRtCourse | *JacqRtCourse | ||
*Fronture | *Fronture | ||
*NumCourses | |||
</pre> | |||
==== TAGS DRAFT DATA ==== | |||
<pre> | |||
*NumCourses int32 | |||
Numero de pasadas guardadas del dibujo. | |||
*Layout_FrontureData | *Layout_FrontureData | ||
Revisió del 08:08, 3 oct 2016
DLL_EXPORTS
void drf_clear_errors()
Descr:Borra todos los mensajes de error del almacenamiento interno de la librería dinámica.
int drf_get_num_errors();
Descr:Obtiene el numero de mensajes de error del almacenados por la librería dinámica.
Return:numero de mensajes almacenados.
const char* drf_get_error(int idx)
Descr:obtiene el mensajes de error indicado por idx.
p:idx: Numero de mensaje a obtener.Comprendido ente 0 y (drf_get_num_messages()-1) ambos incluidos.
Return: un puntero a una cadena de caracteres ASCII terminada por el byte NUL ('\0'), o NULL en caso que
el valor de idx este fuera de rango.
int drf_to_json(char *path,FILE *json,int options)
Descr:Serializa a JSON un dibujo DRF.
p:path: Ruta al fichero DRF a serializar en formato Windows ANSI.
p:json: puntero FILE ya abierto y con la escritura habilitada.
p:options: Selecciona que información se serializará. 0 para serializar toda la información disponible.
Return: 0 para indicar que la operación se ha completado correctamente. Diferente de 0 para indicar error.
TAGS
TAGS GENERIC INFO
*Software:ASCIIstring Nombre del programa que ha generado el fichero .DRF *DrawName Type:ASCIIString N:1 Campo editable por el diseñador el nombre del dibujo. *Company Type:ASCIIString N:1 Compañia que ha creado el dibujo.
TAGS MACHINE INFO
*Machine Type:ASCIIString N:1 Campo editable por el diseñador que contiene el nombre, descripción o referencia de la maquina. *MachineType Type:ASCIIString N:1 Nombre exacto del modelo de la maquina. *Description Type:ASCIIString N:1 Campo editable per el diseñador. *Serial Type:ASCIIString N:1 *Version Type:int32 N:1 Versión del formato de DRF con el que se ha guardado el archivo. *Jacquard Type:int32 N:1 *BarsRepeat Type:int32 N:1 *NumRepeats Type:int32 N:1 *NumBars Type:int32 Numero de barras que tiene el telar *Plate Type:int32 N:1 *JacqNeedles Type:int32 N:1 Numero total de agujas de Jacquard del telar *MachNeedles Type:int32 N:1 Numero total de agujas del telar *BarsOffset Type:int32 N:1 Desplazamiento respecto a la primera aguja *JacqOffset Type:int32 N:1 *MaxDisp Type:int32 N:1 *Proximity Type:int32 N:1 *JacqRt Type:int32 N:1 *FinalGauge Type:float N:1 *FinalQuality Type:float N:1 *RealGauge Type:float N:1 *RealQuality Type:float N:1 *Shrinkage Type:float N:1 *Elasticity Type:float N:1 *BarName ASCIIString(NumBars) *BarNumBar int32(NumBars) *BarGroup Type: N:NumBars *BarStop Type: N:NumBars *BarUtil Type: N:NumBars *BarType Type: N:NumBars *BarMaxGimp Type: N:NumBars *BarDrive Type: N:NumBars *BarFactor Type: N:NumBars *BarInvert Type: N:NumBars *BarWork Type: N:NumBars *BarKnit Type: N:NumBars *BarTimes Type: N:NumBars *BarMode Type: N:NumBars *BarModif Type: N:NumBars *BarRepeat Type: N:NumBars *BarTension Type: N:NumBars *BarNumFingers Type: N:NumBars *BarModeDrop Type: N:NumBars *BarMaxDesp Type: N:NumBars *BarActive Type: N:NumBars *BarHalvesUp Type: N:NumBars *BarHalvesDn Type: N:NumBars *BarString Type: N:NumBars *BarFronture Type: N:NumBars *BarDropsUtil int32(7*NumBars) *BarHalves *BarNeedle *BarKnitting *BarNeedleB *BarKnitting *FingerStop int32(num_fingers) num_fingers=BarNumFingers[0] + ... + BarNumFingers[NumBars-1] *FingerType int32(num_fingers) num_fingers=BarNumFingers[0] + ... + BarNumFingers[NumBars-1] *CGF1Card *CGF1Type *CGF1Taille *CGF1Numlines *CGF1Script *CGF1Descrip *CGF2Card *CGF2Type *CGF2Taille *CGF2Numlines *CGF2Script *CGF2Descrip *CFBNGaits *CFBCard *CFBType *CFBTaille *CFBNumlines *CFBScript *CFBGaitNBar *CFBGaitNGait *CFBDescrip *CFBGaitNRepeat *JacqRtCourse *Fronture
TAGS DRAFT DATA
*NumCourses int32 Numero de pasadas guardadas del dibujo. *Layout_FrontureData *Layout_WBData *Layout_JacqData *LayoutCourNRepeats *LayoutCourNLayouts *LayoutCourRepeat *LayoutCourWhich *LayoutCourTimes *LayoutJacqNRepeats *LayoutJacqNLayouts *LayoutJacqRepeat *LayoutJacqWhich *LayoutJacqTimes