using System ;
using System.Collections.Generic ;
using System.Diagnostics ;
using System.Linq ;
using System.Text ;
using System.Threading.Tasks ;
using System.Windows.Forms ;
namespace MaterialTraceability.Business
{
public class LanguageHelper
{
public static string language { get ; set ; }
public static string ShowMessage ( string Message )
{
string Result = Message ;
switch ( language )
{
case "de-DE" :
#region 界面初始化
if ( Message = = "PLC初始化" )
{
Result = "PLC-Initialisierung" ;
}
if ( Message = = "PLC连接失败" )
{
Result = "PLC-Verbindung fehlgeschlagen" ;
}
if ( Message = = "PLC断开, 重新建立连接" )
{
Result = "PLC Connect Fail,Reconnect..." ;
}
if ( Message = = "PLC断开, 重新连接失败" )
{
Result = "PLC Connect Fail,Reconnect Fail" ;
}
if ( Message = = "请登录系统管理账号进行操作" )
{
Result = "Bitte melden Sie sich mit dem Systemadministratorkonto an, um Vorgänge durchzuführen" ;
}
# endregion
#region 涂布日志
#region 界面日志
if ( Message = = "收卷位设备连接成功" )
{
Result = "Wickelposition-Gerät erfolgreich verbunden" ;
}
if ( Message = = "收卷位设备连接失败" )
{
Result = "Verbindung fehlgeschlagen" ;
}
if ( Message = = "下料记录为空,生产过程中未记录到RFID条码信息" )
{
Result = "Blanking record is empty; no RFID barcode information was recorded during production." ;
}
if ( Message = = "调用MES注销SFC接口" )
{
Result = "MES-SFC-Abmeldung API aufrufen" ;
}
if ( Message = = "注销SFC接口调用失败: " )
{
Result = "Fehler beim Aufruf der MES-SFC-Abmeldeschnittstelle: " ;
}
if ( Message = = "注销SFC接口调用异常: " )
{
Result = "Abnormaler Aufruf der MES-SFC-Abmeldeschnittstelle: " ;
}
if ( Message = = "注销SFC接口调用成功" )
{
Result = "MES-SFC-Abmeldeschnittstelle erfolgreich aufgerufen" ;
}
if ( Message = = "调整A面数量调用MES接口失败: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zur A-Seiten-Mengenanpassung: " ;
}
if ( Message = = "调整A面数量调用MES接口异常: " )
{
Result = "Abnormaler Aufruf der MES-Schnittstelle zur A-Seiten-Mengenanpassung: " ;
}
if ( Message = = "调整A面数量接口调用成功, 数量调整为" )
{
Result = "A-Seiten-Mengenanpassungsschnittstelle erfolgreich aufgerufen; Menge angepasst auf" ;
}
if ( Message = = "A面自动入账调用MES接口异常: " )
{
Result = "Exception occurred while calling the MES Interface for A-side Automatic Posting: " ;
}
if ( Message = = "A面自动入账成功" )
{
Result = "A-side automatic posting succeeded" ;
}
if ( Message = = "未进入结束流程" )
{
Result = "Der Abschlussvorgang wurde noch nicht gestartet" ;
}
if ( Message = = "A面调整完成调用MES接口失败: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle nach Abschluss der A-Seiten-Anpassung: " ;
}
if ( Message = = "A面调整完成调用MES接口异常: " )
{
Result = "Ausnahme beim Aufruf der MES-Schnittstelle nach Abschluss der A-Seiten-Anpassung: " ;
}
if ( Message = = "A面调整完成调用MES接口成功" )
{
Result = "MES-Schnittstelle nach Abschluss der A-Seiten-Anpassung erfolgreich aufgerufen" ;
}
if ( Message = = "B面开始调用MES接口失败: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle für den B-Seiten-Start: " ;
}
if ( Message = = "B面开始调用MES接口异常: " )
{
Result = "Ausnahme beim Aufruf der MES-Schnittstelle für den B-Seiten-Start: " ;
}
if ( Message = = "B面自动入账完成" )
{
Result = "Automatische Buchung der B-Seite abgeschlossen" ;
}
if ( Message = = "完工流程结束" )
{
Result = "Abschlussvorgang abgeschlossen" ;
}
if ( Message = = "B面调整完成调用MES接口失败: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle nach Abschluss der B-Seiten-Anpassung: " ;
}
if ( Message = = "B面调整完成调用MES接口异常: " )
{
Result = "Ausnahme beim Aufruf der MES-Schnittstelle nach Abschluss der B-Seiten-Anpassung: " ;
}
if ( Message = = "调整B面完工调用MES接口成功" )
{
Result = "MES-Schnittstelle zur B-Seiten-Fertigstellungsanpassung erfolgreich aufgerufen" ;
}
if ( Message = = "收卷结束,下发下料信号" )
{
Result = "Aufwicklung abgeschlossen; Zufuhrsignal gesendet" ;
}
if ( Message = = "收卷流程结束异常:" )
{
Result = "Abnormaler Abschluss des Aufwicklungsprozesses: " ;
}
if ( Message = = "RFID物料追溯系统初始化" )
{
Result = "RFID-Materialnachverfolgungssystem-Initialisierung" ;
}
if ( Message = = "程序初始化数据为空" )
{
Result = "Programminitialisierungsdaten sind leer" ;
}
if ( Message = = "请输入需要设置预警的工单编号" )
{
Result = "Bitte geben Sie die Auftragsnummer ein, für die Sie eine Warnung einrichten möchten" ;
}
if ( Message = = "工单预警设置成功" )
{
Result = "Auftragswarnung erfolgreich eingerichtet" ;
}
if ( Message = = "工单预警数量设置失败" )
{
Result = "Fehler beim Einrichten der Auftragswarnungsmenge" ;
}
# endregion
#region 逻辑日志
if ( Message = = "A轴" )
{
Result = "A-Achse" ;
}
if ( Message = = "B轴" )
{
Result = "B-Achse" ;
}
if ( Message = = "收卷涨紧触发成功" )
{
Result = "Zugspannungsauslösung erfolgreich" ;
}
if ( Message = = "开始读取卷筒RFID物料信息" )
{
Result = "Beginn des Lesens der RFID-Materialinformationen der Rolle" ;
}
if ( Message = = "获取RFID设备信息异常" )
{
Result = "Fehler beim Abrufen der RFID-Geräteinformationen" ;
}
if ( Message = = "RFID条码信息读取相同与" )
{
Result = "RFID-Barcodeinformationen sind identisch mit denen der" ;
}
if ( Message = = "请更换卷筒或标签" )
{
Result = "bitte Rolle oder Etikett ersetzen" ;
}
if ( Message = = "RFID条码信息读取失败" )
{
Result = "RFID-Barcodeinformationen konnten nicht gelesen werden" ;
}
if ( Message = = "RFID条码信息读取成功: " )
{
Result = "RFID-Barcodeinformationen erfolgreich gelesen: " ;
}
if ( Message = = "RFID读取到的条码与前一读取相同不做MES处理" )
{
Result = "RFID gelesener Barcode ist identisch mit dem vorherigen; MES-Verarbeitung wird übersprungen" ;
}
if ( Message = = "收卷结束信号触发成功" )
{
Result = "Signal zum Wicklungsende erfolgreich ausgelöst" ;
}
if ( Message = = "收卷完工获取绑定信息为空不进入结束流程" )
{
Result = "Gebundene Informationen beim Wicklungsabschluss sind leer; Endprozess wird nicht ausgeführt" ;
}
if ( Message = = "收卷结束,下发禁止下料信号" )
{
Result = "Wicklung beendet; Signal „Materialzufuhr verboten“ wird ausgegeben" ;
}
if ( Message = = "读取涂布机收卷米数:" )
{
Result = "Wickellänge (Meter) der Beschichtungsmaschine lesen: " ;
}
if ( Message = = "读取涂布机收卷EA: " )
{
Result = "EA-Wert der Beschichtungsmaschine lesen: " ;
}
if ( Message = = "调用MES接口获取RFID绑定的SFC" )
{
Result = "MES-Schnittstelle aufrufen, um das an RFID gebundene SFC abzurufen" ;
}
if ( Message = = "RFID条码绑定的SFC条码为: " )
{
Result = "Der an den RFID-Barcode gebundene SFC-Barcode lautet: " ;
}
if ( Message = = "MES获取膜卷号接口调用异常: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zur Abrufung der Folienrollennummer: " ;
}
if ( Message = = "MES解绑接口调用异常: " )
{
Result = "Fehler beim Aufruf der Entbindungs-Schnittstelle: " ;
}
if ( Message = = "RFID条码解绑失败" )
{
Result = "Entbindung des RFID-Barcodes fehlgeschlagen" ;
}
if ( Message = = "RFID条码未绑定SFC信息" )
{
Result = "RFID-Barcode ist an keine SFC-Information gebunden" ;
}
if ( Message = = "MES涂布工单下达接口调用成功,膜卷号:" )
{
Result = "MES-Beschichtungsauftragsfreigabe-API-Aufruf erfolgreich, Folienrollen-Nr: " ;
}
if ( Message = = "绑定卷轴与RFID条码获取卷轴信息为空" | | Message = = "获取卷轴信息为空" )
{
Result = "Rolleninformationen sind leer" ;
}
if ( Message = = "调用MES涂布工单下达接口" )
{
Result = "MES-Beschichtungsauftragsfreigabe-API aufrufen" ;
}
if ( Message = = "涂布工单获取调用MES接口失败: " )
{
Result = "Fehler beim Aufrufen der MES-API zum Abrufen von Beschichtungsaufträgen: " ;
}
if ( Message = = "涂布工单下达调用MES接口调用异常: " )
{
Result = "Ausnahme aufgetreten beim Aufrufen der MES-API zur Freigabe von Beschichtungsaufträgen: " ;
}
if ( Message = = "获取工单预警设置信息为空" )
{
Result = "Warnkonfiguration des Arbeitsauftrags ist leer" ;
}
if ( Message = = "工单超产,及时更换工单" )
{
Result = "Arbeitsauftrag überproduziert; bitte rechtzeitig wechseln" ;
}
if ( Message = = "工单预警判断异常:" )
{
Result = "Fehler bei der Warnbewertung des Arbeitsauftrags: " ;
}
if ( Message = = "强制下料信号触发成功" )
{
Result = "Signal zur erzwungenen Materialzufuhr erfolgreich ausgelöst" ;
}
if ( Message = = "下发下料信号" )
{
Result = "Signal zur Materialzufuhr ausgeben" ;
}
if ( Message = = "获取绑定的SFC信息: " )
{
Result = "Gebundene SFC-Informationen abrufen" ;
}
if ( Message = = "通过SFC获取下料信息为空" )
{
Result = "Keine Materialzufuhrinformationen über SFC erhalten" ;
}
if ( Message = = "强制下料状态更新失败" )
{
Result = "Aktualisierung des Status der erzwungenen Materialentnahme fehlgeschlagen" ;
}
if ( Message = = "强制下料完成" )
{
Result = "Erzwungene Materialentnahme abgeschlossen" ;
}
if ( Message = = "收卷开始信号触发成功" )
{
Result = "Signal zum Wicklungsbeginn erfolgreich ausgelöst" ;
}
if ( Message = = "解绑RFID绑定的SFC条码" )
{
Result = "An RFID gebundenen SFC-Barcode entbinden" ;
}
# endregion
# endregion
#region 冷压日志
#region 界面
if ( Message = = "成功设置拆分数量为" )
{
Result = "Die Aufteilungsmenge wurde erfolgreich auf eingestellt" ;
}
# endregion
#region 业务逻辑
if ( Message = = "A放卷轴" )
{
Result = "Abwickeln Achse A" ;
}
if ( Message = = "B放卷轴" )
{
Result = "Abwickeln Achse B" ;
}
if ( Message = = "放卷手动写入后收到涨紧信号,不进行读取!" )
{
Result = "Nach manueller Eingabe der Abwicklung wird ein Spannungssignal empfangen; das Lesen wird nicht durchgeführt!" ;
}
if ( Message = = "涨紧信号触发成功" )
{
Result = "Spannungs-Signal an der Abwicklungsposition erfolgreich ausgelöst" ;
}
if ( Message = = "获取放卷位RFID设备信息异常" )
{
Result = "Fehler beim Abrufen der RFID-Geräteinformationen an der Abwicklungsposition" ;
}
if ( Message = = "RFID条码信息读取失败" )
{
Result = "Fehler beim Lesen der RFID-Barcode-Informationen an der Abwicklungsposition" ;
}
if ( Message = = "RFID条码信息读取成功,RFID为" )
{
Result = "RFID-Barcode-Informationen an der Abwicklungsposition erfolgreich gelesen, RFID ist:" ;
}
if ( Message = = "当前读取的RFID, 已经生产结束不允许再次上料" )
{
Result = "Der gelesene RFID ist bereits in der Produktion abgeschlossen, eine erneute Materialzufuhr ist nicht erlaubt" ;
}
if ( Message = = "RFID读取到的条码与前一读取相同并且生产未结束, 可以继续生产" )
{
Result = "Der Barcode an der Abwicklungsposition ist derselbe wie der vorherige und die Produktion ist noch nicht beendet; die Produktion kann fortgesetzt werden" ;
}
if ( Message = = "放卷涨紧逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung der Kaltpress-Abwicklungs-Spannung" ;
}
if ( Message = = "放卷位结束信号触发成功" )
{
Result = "Endsignal an der Abwicklungsposition erfolgreich ausgelöst" ;
}
if ( Message = = "放卷结束,获取上料信息为空" )
{
Result = "Abwicklung abgeschlossen; Informationen zur Rollenbindung sind leer" ;
}
if ( Message = = "生成放卷信息" )
{
Result = "Abwicklungsinformationen generieren" ;
}
if ( Message = = "冷压放卷位结束逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung des Endes der Kaltpress-Abwicklungsposition" ;
}
if ( Message = = "收卷位涨紧信号触发成功" )
{
Result = "Spannungs-Signal an der Wicklungsposition erfolgreich ausgelöst" ;
}
if ( Message = = "放卷位物料信息为空,先触发放卷位物料信息" )
{
Result = "Materialinformationen an der Abwicklungsposition sind leer; Materialinformationen an der Abwicklungsposition zuerst auslösen" ;
}
if ( Message = = "开始读取卷筒RFID物料信息" )
{
Result = "Beginnen Sie mit dem Lesen der Rollen-RFID-Materialinformationen" ;
}
if ( Message = = "1A轴1#天线" )
{
Result = "1A-Achse Antenne #1" ;
}
if ( Message = = "1A轴2#天线" )
{
Result = "1A-Achse Antenne #2" ;
}
if ( Message = = "1B轴1#天线" )
{
Result = "1B-Achse Antenne #1" ;
}
if ( Message = = "1B轴2#天线" )
{
Result = "1B-Achse Antenne #2" ;
}
if ( Message = = "2B轴3#天线" )
{
Result = "2B-Achse Antenne #3" ;
}
if ( Message = = "2B轴4#天线" )
{
Result = "2B-Achse Antenne #4" ;
}
if ( Message = = "2A轴3#天线" )
{
Result = "2A-Achse Antenne #3" ;
}
if ( Message = = "2A轴4#天线" )
{
Result = "2A-Achse Antenne #4" ;
}
if ( Message = = "读到标签条码信息:" )
{
Result = "RFID Barcode-Information vom Etikett gelesen: " ;
}
if ( Message = = "RFID条码信息读取失败" )
{
Result = "Fehler beim Lesen der RFID-Barcode-Informationen" ;
}
if ( Message = = "RFID读取成功, RFID为: " )
{
Result = "RFID erfolgreich gelesen, RFID ist: " ;
}
if ( Message = = "绑定卷轴与物料信息,获取卷轴信息为空" )
{
Result = "Bindung der Rolle und Materialinformationen, Rolleninformationen sind leer" ;
}
if ( Message = = "RFID条码已存在其它位置, 检查是否重复" )
{
Result = "RFID-Barcode existiert an einem anderen Ort; auf Duplikate prüfen" ;
}
if ( Message = = "解绑RFID条码绑定的SFC信息" )
{
Result = "Entbindung der RFID-Barcode-gebundenen SFC-Informationen" ;
}
if ( Message = = "冷压收卷涨紧信号逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung des Kaltpress-Wicklungsspannungssignals" ;
}
if ( Message = = "收卷结束信号触发成功" )
{
Result = "Signal zum Wicklungsende erfolgreich ausgelöst" ;
}
if ( Message = = "通过PLC获取SFC为空" )
{
Result = "Über PLC abgerufenes SFC ist leer" ;
}
if ( Message = = "通过PLC获取的SFC为: " )
{
Result = "Das über PLC abgerufene SFC ist: " ;
}
if ( Message = = "收卷完工获取绑定信息为空不进入结束流程" )
{
Result = "Wicklungsabschluss: Gebundene Informationen sind leer, Endprozess wird nicht gestartet" ;
}
if ( Message = = "设备EA值" )
{
Result = "Geräte-EA-Wert" ;
}
if ( Message = = "PLC获取的最终SFC为: " )
{
Result = "Das endgültige SFC, das über PLC abgerufen wurde, ist:" ;
}
if ( Message = = "收卷完工获取卷轴绑定的SFC为空不进入结束流程" )
{
Result = "Wicklungsabschluss: SFC-Bindungsinformationen der Rolle sind leer, Endprozess wird nicht ausgeführt" ;
}
if ( Message = = "收卷完工获取放卷位物料信息为空不进入结束流程" )
{
Result = "Wicklungsabschluss: Materialinformationen der Abwicklungsposition sind leer, Endprozess wird nicht ausgeführt" ;
}
if ( Message = = "通过MES获取放卷位物料EA值为空" )
{
Result = "EA-Wert des Abwicklungs-Materials, abgerufen über MES, ist leer" ;
}
if ( Message = = "放卷位物料EA: " )
{
Result = "Abwicklungs-Material EA:" ;
}
if ( Message = = "收卷流程结束,获取下料信息异常" )
{
Result = "Wicklungsprozess abgeschlossen, Fehler beim Abrufen der Entladeinformationen" ;
}
if ( Message = = "完工最后一卷:" )
{
Result = "Letzte Rolle abgeschlossen:" ;
}
if ( Message = = "获取MES账目EA数量: " )
{
Result = "MES-Konto-EA-Menge abrufen:" ;
}
if ( Message = = "不进行拆分完工" )
{
Result = "Ohne Aufteilung und Abschluss abschließen" ;
}
if ( Message = = "其它收卷位还有物料未完工,请勿提前完工最后一卷料" )
{
Result = "Andere Wicklungspositionen haben noch unvollständiges Material; bitte das letzte Wickeln nicht vorzeitig abschließen" ;
}
if ( Message = = "获取设备EA数量: " )
{
Result = "Geräte-EA-Menge abrufen:" ;
}
if ( Message = = "RFID绑定的膜卷号: " )
{
Result = "An RFID gebundene Folienrollennummer:" ;
}
if ( Message = = "下料流程结束, 下发PLC下料信号" )
{
Result = "Entladeprozess abgeschlossen, PLC-Entladesignal ausgeben" ;
}
if ( Message = = "冷压收卷结束信号逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung des Kaltpress-Wicklungsende-Signals" ;
}
if ( Message = = "调用MES接口获取RFID绑定的SFC" )
{
Result = "MES-Schnittstelle aufrufen, um an RFID gebundenes SFC abzurufen" ;
}
if ( Message = = "MES获取膜卷号接口调用异常: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zur Abrufung der Folienrollennummer" ;
}
if ( Message = = "通过MES获取放卷物料的EA数量失败: " )
{
Result = "Fehler beim Abrufen der EA-Menge des Abwicklungs-Materials über MES:" ;
}
if ( Message = = "MES获取EA数量接口异常: " )
{
Result = "Fehler bei der MES-Schnittstelle für EA-Mengen:" ;
}
if ( Message = = "拆分MES账目数量: " )
{
Result = "MES-Konto-Menge aufteilen:" ;
}
if ( Message = = "调用MES拆分接口" )
{
Result = "MES-Schnittstelle zur Aufteilung aufrufen" ;
}
if ( Message = = "MES自动拆分接口调用失败: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zur automatischen Aufteilung:" ;
}
if ( Message = = "MES自动拆分接口调用异常: " )
{
Result = "Fehler bei der MES-Schnittstelle zur automatischen Aufteilung:" ;
}
if ( Message = = "MES自动拆分接口调用成功" )
{
Result = "Aufruf der MES-Schnittstelle zur automatischen Aufteilung erfolgreich" ;
}
if ( Message = = "调用MES首工序获取SFC接口" )
{
Result = "MES-Schnittstelle zum Abrufen des ersten Prozesses SFC aufrufen" ;
}
if ( Message = = "MES首工序获取SFC接口调用失败: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zum Abrufen des ersten Prozesses SFC:" ;
}
if ( Message = = "MES首工序获取SFC接口调用失败, 下发PLC泄气报警信号" )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zum Abrufen des ersten Prozesses SFC,PLC-Luftleck-Alarm-Signal ausgeben" ;
}
if ( Message = = "MES首工序获取SFC接口调用成功, " )
{
Result = "Aufruf der MES-Schnittstelle zum Abrufen des ersten Prozesses SFC erfolgreich," ;
}
if ( Message = = "调用MES首工序获取SFC接口异常: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zum Abrufen des ersten Prozesses SFC:" ;
}
if ( Message = = "放卷位物料SFC写入PLC地址: " )
{
Result = "Schreiben des Abwicklungs-Material-SFC an PLC-Adresse:" ;
}
if ( Message = = "绑定卷轴与RFID, 获取卷轴信息为空" )
{
Result = "Bindung der Rolle und RFID; Rolleninformationen sind leer" ;
}
if ( Message = = "判断是否合卷, 放卷位SFC: " )
{
Result = "Bestimmung, ob Rollenzusammenführung erforderlich ist, Abwicklungsposition SFC:" ;
}
if ( Message = = "绑定膜卷号为空,不触发合卷报警" )
{
Result = "Bindung der Folienrollennummer ist leer, kein Alarm für Rollenzusammenführung" ;
}
if ( Message = = "和放卷位SFC相同不触发合卷报警" )
{
Result = "Gleich wie der SFC der Abwicklungsposition, kein Alarm für Rollenzusammenführung" ;
}
if ( Message = = "和放卷位SFC不同触发合卷报警" )
{
Result = "Kombinationswickelalarm auslösen, wenn abweichend von Abwickelposition SFC" ;
}
if ( Message = = "RFID条码成功解绑SFC!" )
{
Result = "RFID-Barcode erfolgreich von SFC entbunden!" ;
}
if ( Message = = "RFID条码解绑失败!" )
{
Result = "RFID-Barcode-Entbindung fehlgeschlagen!" ;
}
if ( Message = = "RFID条码未绑定SFC信息!" )
{
Result = "RFID-Barcode ist nicht an SFC-Informationen gebunden!" ;
}
if ( Message = = "获取卷轴绑定信息为空!" )
{
Result = "Rollenbindungsinformationen sind leer!" ;
}
if ( Message = = "当前收卷位生产轴:" )
{
Result = "Aktuelle Wicklungsposition Produktionsachse:" ;
}
if ( Message = = "放卷结束,判断最后一卷收卷物料获取收卷位绑定信息为空" )
{
Result = "Abwicklung abgeschlossen, Bestimmung des letzten Wickelmaterials; Wicklungspositionsbindungsinformationen sind leer" ;
}
if ( Message = = "放卷结束, 确定最后一卷收卷物料轴RFID条码为: " )
{
Result = "Abwicklung abgeschlossen, RFID-Barcode des letzten Wickelmaterials bestimmt als:" ;
}
if ( Message = = "最后收卷物料标识修改成功!" )
{
Result = "Änderung der Kennzeichnung des letzten Wickelmaterials erfolgreich!" ;
}
if ( Message = = "最后收卷物料标识修改失败" )
{
Result = "Änderung der Kennzeichnung des letzten Wickelmaterials fehlgeschlagen" ;
}
if ( Message = = "异常下料信号触发,下发下料信号" )
{
Result = "Abnormales Entladesignal ausgelöst, Entladesignal wird ausgegeben" ;
}
if ( Message = = "开机启动信号触发成功" )
{
Result = "Startsignal der Maschine erfolgreich ausgelöst" ;
}
if ( Message = = "放卷位与收卷位膜卷号不同触发合卷报警" )
{
Result = "Abwicklungsposition und Wicklungsposition haben unterschiedliche Folienrollennummern, Alarm für Rollenzusammenführung ausgelöst" ;
}
if ( Message = = "当前SFC放卷结束时间为空, 生产未结束" )
{
Result = "Aktuelle SFC-Abwicklungs-Endzeit ist leer, Produktion ist nicht abgeschlossen" ;
}
if ( Message = = "当前SFC放卷结束时间为: " )
{
Result = "Aktueller SFC Abwickel-Endzeit ist:" ;
}
if ( Message = = "调用MES接口获取RFID绑定的SFC" )
{
Result = "MES-Schnittstelle aufrufen, um an RFID gebundenes SFC abzurufen" ;
}
if ( Message = = "调用MES获取SFC接口异常" )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zur Abrufung des SFC" ;
}
# endregion
# endregion
#region 模切日志
if ( Message = = "放卷涨紧信号逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung des Abwicklungs-Spannungs-PLC-Signals" ;
}
if ( Message = = "放卷开始信号触发成功,下发禁止下料信号" )
{
Result = "Signal zum Wicklungsbeginn erfolgreich ausgelöst, „Materialzufuhr verboten“-Signal wird ausgegeben" ;
}
if ( Message = = "收卷涨紧逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung der Wicklungsspannung" ;
}
if ( Message = = "收卷开始逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung des Wicklungsbeginns" ;
}
if ( Message = = "完工, Mes账目EA数量: " )
{
Result = "Abschluss, MES-Konto-EA-Menge:" ;
}
if ( Message = = "完工, Mes账目EA数量为空" )
{
Result = "Abschluss, MES-Konto-EA-Menge ist leer" ;
}
if ( Message = = "PLC统计EA值小于10或者大于Mes剩余账目EA数量的70%,可能有误,不进行拆分,请手动拆分!" )
{
Result = "PLC-Statistik: EA-Wert ist kleiner als 10 oder größer als 70% des verbleibenden MES-Konto-EA, möglicherweise fehlerhaft, keine Aufteilung, bitte manuell aufteilen!" ;
}
if ( Message = = "PLC统计的EA值小于10或者大于Mes剩余账目EA数量的120%,可能有误,不进行拆分,请手动拆分!" )
{
Result = "PLC-Statistik: EA-Wert ist kleiner als 10 oder größer als 120% des verbleibenden MES-Konto-EA, möglicherweise fehlerhaft, keine Aufteilung, bitte manuell aufteilen!" ;
}
if ( Message = = "拆分异常,不允许直接拆分下收卷轴,先拆分上轴再执行下轴拆分" )
{
Result = "Aufteilungsfehler, direkte Aufteilung der unteren Wicklungsachse nicht erlaubt, zuerst die obere Achse aufteilen, dann die untere Achse aufteilen" ;
}
if ( Message = = "模切收卷结束逻辑处理异常" )
{
Result = "Fehler in der Logikverarbeitung des Endes der Stanz-Wicklung" ;
}
if ( Message = = "获取卷轴信息异常:" )
{
Result = "Fehler beim Abrufen der Rolleninformationen:" ;
}
if ( Message = = "未绑定SFC" )
{
Result = "Nicht an SFC gebunden" ;
}
if ( Message = = "通过MES接口获取放卷物料的SFC数量失败: " )
{
Result = "Fehler beim Abrufen der SFC-Menge des Abwicklungs-Materials über die MES-Schnittstelle:" ;
}
if ( Message = = "收卷完成获取收卷记录信息为空" )
{
Result = "Wicklung abgeschlossen: Wicklungsaufzeichnungsinformationen sind leer" ;
}
if ( Message = = "完工, Mes账目EA数量为空" )
{
Result = "Abschluss, MES-Konto-EA-Menge ist leer" ;
}
if ( Message = = "完工, Mes账目EA数量: " )
{
Result = "Abschluss, MES-Konto-EA-Menge:" ;
}
if ( Message = = ";设备实物数量:" )
{
Result = ";tatsächliche Geräte-Menge:" ;
}
if ( Message = = "实物数量大于MES数量, 先调整再拆分" )
{
Result = "Tatsächliche Menge ist größer als MES-Menge, zuerst anpassen, dann aufteilen" ;
}
if ( Message = = "已拆分完成不再调整数量" )
{
Result = "Bereits aufgeteilt, keine weitere Anpassung der Menge" ;
}
if ( Message = = "收卷完工流程结束" )
{
Result = "Wicklungsabschlussprozess endet" ;
}
if ( Message = = "收卷结束MES流程处理异常: " )
{
Result = "Fehler bei der Verarbeitung des Wicklungsendes im MES-Prozess:" ;
}
if ( Message = = "调用MES入账接口" )
{
Result = "MES-Buchungs-Schnittstelle aufrufen" ;
}
if ( Message = = "自动入账失败:" )
{
Result = "Automatische Buchung fehlgeschlagen" ;
}
if ( Message = = "自动入账失败,下发异常报警信息" )
{
Result = "Automatische Buchung fehlgeschlagen, Ausnahmealarm wird ausgegeben" ;
}
if ( Message = = "MES入账接口调用成功,SFC: " )
{
Result = "MES-Buchungs-Schnittstelle erfolgreich aufgerufen, SFC:" ;
}
if ( Message = = "MES自动入账接口异常: " )
{
Result = "Fehler in der MES-Schnittstelle für automatische Buchung:" ;
}
if ( Message = = "MES自动入账接口异常下发异常报警信息" )
{
Result = "Fehler in der MES-Schnittstelle für automatische Buchung, Ausnahmealarm wird ausgegeben" ;
}
if ( Message = = "收卷位涨紧MES信息处理异: " )
{
Result = "Fehler bei der Verarbeitung von Wicklungsspannungs-MES-Informationen:" ;
}
if ( Message = = "MES自动入账开始接口调用失败: " )
{
Result = "MES-Schnittstelle für automatische Buchung konnte nicht aufgerufen werden:" ;
}
if ( Message = = "调用MES自动入账接口异常: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle für automatische Buchung:" ;
}
if ( Message = = "调用MES自动入账接口成功" )
{
Result = "MES-Schnittstelle für automatische Buchung erfolgreich aufgerufen" ;
}
if ( Message = = "调用MES自动拆分接口" )
{
Result = "MES-Schnittstelle für automatische Aufteilung aufrufen" ;
}
if ( Message = = "MES调整数量接口调用失败: " )
{
Result = "Fehler beim Aufruf der MES-Schnittstelle zur Mengenanpassung" ;
}
if ( Message = = "MES调整数量接口调用成功" )
{
Result = "MES-Schnittstelle zur Mengenanpassung erfolgreich aufgerufen" ;
}
if ( Message = = "当前RFID绑定的SFC为空, 不允许继续生产! " )
{
Result = "Der aktuell an RFID gebundene SFC ist leer, Produktion darf nicht fortgesetzt werden!" ;
}
# endregion
#region 卷绕日志
if ( Message = = "请检查阴阳极是否混料,或者RFID绑定关系是否有误! " )
{
Result = "Bitte überprüfen Sie, ob die Anode und Kathode vermischt sind oder ob die RFID-Bindungsbeziehung fehlerhaft ist!" ;
}
if ( Message = = "通过MES未获取到SFC" )
{
Result = "SFC wurde über MES nicht abgerufen" ;
}
if ( Message = = "通过MES未获取到膜卷等级" )
{
Result = "Filmrollenklasse wurde über MES nicht abgerufen" ;
}
if ( Message = = "通过MES未获取到EA" )
{
Result = "EA wurde über MES nicht abgerufen" ;
}
if ( Message = = "MES自动上料接口调用失败" )
{
Result = "Fehler beim Aufrufen der automatischen Zuführschnittstelle" ;
}
if ( Message = = "自动上料接口调用成功" )
{
Result = "Aufruf der automatischen Zuführschnittstelle erfolgreich" ;
}
if ( Message = = "自动上料接口调用异常:" )
{
Result = "Ausnahme beim Aufrufen der automatischen Zuführschnittstelle:" ;
}
# endregion
break ;
case "en-US" :
#region 卷绕日志
if ( Message = = "自动上料接口调用异常:" )
{
Result = "Automatic feeding interface call exception:" ;
}
if ( Message = = "自动上料接口调用成功" )
{
Result = "Automatic feeding interface call succeeded" ;
}
if ( Message = = "MES自动上料接口调用失败" )
{
Result = "Automatic feeding interface call failed" ;
}
if ( Message = = "通过MES未获取到EA" )
{
Result = "EA not obtained via MES" ;
}
if ( Message = = "通过MES未获取到膜卷等级" )
{
Result = "Film roll grade not obtained via MES" ;
}
if ( Message = = "通过MES未获取到SFC" )
{
Result = "SFC not obtained via MES" ;
}
if ( Message = = "请检查阴阳极是否混料,或者RFID绑定关系是否有误! " )
{
Result = "Please check if the anode and cathode are mixed, or if the RFID binding relationship is incorrect!" ;
}
# endregion
#region 模切日志
if ( Message = = "当前RFID绑定的SFC为空, 不允许继续生产! " )
{
Result = "Current RFID bound SFC is empty, production is not allowed to continue!" ;
}
if ( Message = = "MES调整数量接口调用成功" )
{
Result = "MES quantity adjustment interface call succeeded" ;
}
if ( Message = = "MES调整数量接口调用失败: " )
{
Result = "MES quantity adjustment interface call failed" ;
}
if ( Message = = "调用MES自动拆分接口" )
{
Result = "Call MES automatic split interface" ;
}
if ( Message = = "调用MES自动入账接口成功" )
{
Result = "MES automatic posting interface call succeeded" ;
}
if ( Message = = "调用MES自动入账接口异常: " )
{
Result = "Error calling MES automatic posting interface:" ;
}
if ( Message = = "MES自动入账开始接口调用失败: " )
{
Result = "MES automatic posting start interface call failed:" ;
}
if ( Message = = "收卷位涨紧MES信息处理异常" )
{
Result = "Winding tension MES information processing error:" ;
}
if ( Message = = "MES自动入账接口异常下发异常报警信息" )
{
Result = "MES automatic posting interface error, issuing exception alarm" ;
}
if ( Message = = "MES自动入账接口异常: " )
{
Result = "MES automatic posting interface error:" ;
}
if ( Message = = "MES入账接口调用成功,SFC: " )
{
Result = "MES posting interface call succeeded, SFC:" ;
}
if ( Message = = "自动入账失败,下发异常报警信息" )
{
Result = "Automatic posting failed, issuing exception alarm" ;
}
if ( Message = = "自动入账失败:" )
{
Result = "Automatic posting failed:" ;
}
if ( Message = = "调用MES入账接口" )
{
Result = "Call MES posting interface" ;
}
if ( Message = = "收卷结束MES流程处理异常: " )
{
Result = "Winding end MES process handling error:" ;
}
if ( Message = = "收卷完工流程结束" )
{
Result = "Winding completion process ends" ;
}
if ( Message = = "已拆分完成不再调整数量" )
{
Result = "Already split, no further adjustment to quantity" ;
}
if ( Message = = "实物数量大于MES数量, 先调整再拆分" )
{
Result = "Actual quantity is greater than MES quantity, adjust first then split" ;
}
if ( Message = = ";设备实物数量:" )
{
Result = ";device actual quantity:" ;
}
if ( Message = = "完工, Mes账目EA数量: " )
{
Result = "Completion, MES account EA quantity:" ;
}
if ( Message = = "完工, Mes账目EA数量为空" )
{
Result = "Completion, MES account EA quantity is empty" ;
}
if ( Message = = "收卷完成获取收卷记录信息为空" )
{
Result = "Winding completed: winding record information is empty" ;
}
if ( Message = = "通过MES接口获取放卷物料的SFC数量失败: " )
{
Result = "Failed to obtain SFC quantity of unwinding material via MES interface:" ;
}
if ( Message = = "未绑定SFC" )
{
Result = "Not bound to SFC" ;
}
if ( Message = = "获取卷轴信息异常:" )
{
Result = "Error obtaining reel information:" ;
}
if ( Message = = "模切收卷结束逻辑处理异常" )
{
Result = "Die-cut winding end logic processing error" ;
}
if ( Message = = "拆分异常,不允许直接拆分下收卷轴,先拆分上轴再执行下轴拆分" )
{
Result = "Split error, direct split of lower winding axis not allowed, split upper axis first, then execute lower axis split" ;
}
if ( Message = = "PLC统计的EA值小于10或者大于Mes剩余账目EA数量的120%,可能有误,不进行拆分,请手动拆分!" )
{
Result = "PLC statistics: EA value is less than 10 or greater than 120% of remaining MES account EA, may be incorrect, no split, please split manually!" ;
}
if ( Message = = "PLC统计EA值小于10或者大于Mes剩余账目EA数量的70%,可能有误,不进行拆分,请手动拆分!" )
{
Result = "PLC statistics: EA value is less than 10 or greater than 70% of remaining MES account EA, may be incorrect, no split, please split manually!" ;
}
if ( Message = = "完工, Mes账目EA数量为空" )
{
Result = "Completion, MES account EA quantity is empty" ;
}
if ( Message = = "完工, Mes账目EA数量: " )
{
Result = "Completion, MES account EA quantity:" ;
}
if ( Message = = "收卷开始逻辑处理异常" )
{
Result = "Winding start logic processing error" ;
}
if ( Message = = "收卷涨紧逻辑处理异常" )
{
Result = "Winding tension logic processing error" ;
}
if ( Message = = "放卷开始信号触发成功,下发禁止下料信号" )
{
Result = "Winding start signal triggered successfully, issuing \"feeding prohibited\" signal" ;
}
if ( Message = = "放卷涨紧信号逻辑处理异常" )
{
Result = "Unwinding tension PLC signal logic processing error" ;
}
# endregion
#region 冷压日志
#region 界面
if ( Message = = "成功设置拆分数量为" )
{
Result = "Successfully set the split quantity to" ;
}
# endregion
#region 业务逻辑
if ( Message = = "调用MES获取SFC接口异常" )
{
Result = "Error calling MES interface to get SFC" ;
}
if ( Message = = "调用MES接口获取RFID绑定的SFC" )
{
Result = "Call MES interface to get RFID bound SFC" ;
}
if ( Message = = "当前SFC放卷结束时间为: " )
{
Result = "Current SFC unwinding end time is:" ;
}
if ( Message = = "当前SFC放卷结束时间为空, 生产未结束" )
{
Result = "Current SFC unwinding end time is empty, production is not finished" ;
}
if ( Message = = "放卷位与收卷位膜卷号不同触发合卷报警" )
{
Result = "Unwinding position and winding position film roll number are different, triggering roll joining alarm" ;
}
if ( Message = = "开机启动信号触发成功" )
{
Result = "Machine startup signal triggered successfully" ;
}
if ( Message = = "异常下料信号触发,下发下料信号" )
{
Result = "Abnormal discharge signal triggered, issuing discharge signal" ;
}
if ( Message = = "最后收卷物料标识修改失败" )
{
Result = "Last winding material identifier modification failed" ;
}
if ( Message = = "最后收卷物料标识修改成功!" )
{
Result = "Last winding material identifier modification succeeded!" ;
}
if ( Message = = "放卷结束, 确定最后一卷收卷物料轴RFID条码为: " )
{
Result = "Unwinding finished, determining the last roll's RFID barcode as:" ;
}
if ( Message = = "放卷结束,判断最后一卷收卷物料获取收卷位绑定信息为空" )
{
Result = "Unwinding finished, determining last roll winding material; winding position binding information is empty" ;
}
if ( Message = = "当前收卷位生产轴:" )
{
Result = "Current winding position production axis:" ;
}
if ( Message = = "获取卷轴绑定信息为空!" )
{
Result = "Reel binding information is empty!" ;
}
if ( Message = = "RFID条码未绑定SFC信息!" )
{
Result = "RFID barcode is not bound to any SFC information!" ;
}
if ( Message = = "RFID条码解绑失败!" )
{
Result = "RFID barcode unbinding failed!" ;
}
if ( Message = = "RFID条码成功解绑SFC!" )
{
Result = "RFID barcode successfully unbound from SFC!" ;
}
if ( Message = = "和放卷位SFC不同触发合卷报警" )
{
Result = "Trigger coil combining alarm when different from unwinding position SFC" ;
}
if ( Message = = "和放卷位SFC相同不触发合卷报警" )
{
Result = "Same as unwinding position SFC, no roll joining alarm triggered" ;
}
if ( Message = = "绑定膜卷号为空,不触发合卷报警" )
{
Result = "Film roll number binding is empty, no roll joining alarm triggered" ;
}
if ( Message = = "判断是否合卷, 放卷位SFC: " )
{
Result = "Determine if roll joining, unwinding position SFC:" ;
}
if ( Message = = "绑定卷轴与RFID, 获取卷轴信息为空" )
{
Result = "Binding reel and RFID; reel information is empty" ;
}
if ( Message = = "放卷位物料SFC写入PLC地址: " )
{
Result = "Write unwinding material SFC to PLC address:" ;
}
if ( Message = = "调用MES首工序获取SFC接口异常: " )
{
Result = "Error calling MES first process SFC interface:" ;
}
if ( Message = = "MES首工序获取SFC接口调用成功, " )
{
Result = "MES first process SFC interface call succeeded," ;
}
if ( Message = = "MES首工序获取SFC接口调用失败, 下发PLC泄气报警信号" )
{
Result = "MES first process SFC interface call failed,Issue PLC air leak alarm signal" ;
}
if ( Message = = "MES首工序获取SFC接口调用失败: " )
{
Result = "MES first process SFC interface call failed:" ;
}
if ( Message = = "调用MES首工序获取SFC接口" )
{
Result = "Call MES first process SFC interface" ;
}
if ( Message = = "MES自动拆分接口调用成功" )
{
Result = "MES automatic split interface call succeeded" ;
}
if ( Message = = "MES自动拆分接口调用异常: " )
{
Result = "MES automatic split interface error:" ;
}
if ( Message = = "MES自动拆分接口调用失败: " )
{
Result = "MES automatic split interface call failed:" ;
}
if ( Message = = "调用MES拆分接口" )
{
Result = "Call MES split interface" ;
}
if ( Message = = "拆分MES账目数量: " )
{
Result = "Split MES account quantity:" ;
}
if ( Message = = "MES获取EA数量接口异常: " )
{
Result = "MES EA quantity interface error:" ;
}
if ( Message = = "通过MES获取放卷物料的EA数量失败: " )
{
Result = "Failed to obtain EA quantity of unwinding material via MES:" ;
}
if ( Message = = "MES获取膜卷号接口调用异常: " )
{
Result = "Error calling MES interface to obtain film roll number" ;
}
if ( Message = = "调用MES接口获取RFID绑定的SFC" )
{
Result = "Call MES interface to get RFID bound SFC" ;
}
if ( Message = = "冷压收卷结束信号逻辑处理异常" )
{
Result = "Cold press winding end signal logic processing error" ;
}
if ( Message = = "下料流程结束, 下发PLC下料信号" )
{
Result = "Discharge process ended, issuing PLC discharge signal" ;
}
if ( Message = = "RFID绑定的膜卷号: " )
{
Result = "Film roll number bound to RFID:" ;
}
if ( Message = = "获取设备EA数量: " )
{
Result = "Retrieve Equipment EA Quantity:" ;
}
if ( Message = = "其它收卷位还有物料未完工,请勿提前完工最后一卷料" )
{
Result = "Other winding positions have unfinished material; please do not complete the last roll prematurely" ;
}
if ( Message = = "不进行拆分完工" )
{
Result = "Complete without splitting and finishing" ;
}
if ( Message = = "获取MES账目EA数量: " )
{
Result = "Get MES account EA quantity:" ;
}
if ( Message = = "完工最后一卷:" )
{
Result = "Final roll completion:" ;
}
if ( Message = = "收卷流程结束,获取下料信息异常" )
{
Result = "Winding process ended, error obtaining discharge information" ;
}
if ( Message = = "放卷位物料EA: " )
{
Result = "Unwinding material EA:" ;
}
if ( Message = = "通过MES获取放卷位物料EA值为空" )
{
Result = "EA value of unwinding material obtained via MES is empty" ;
}
if ( Message = = "收卷完工获取放卷位物料信息为空不进入结束流程" )
{
Result = "Winding completion: unwinding material info is empty, end process not entered" ;
}
if ( Message = = "收卷完工获取卷轴绑定的SFC为空不进入结束流程" )
{
Result = "Winding completion: SFC binding info of reel is empty, end process not entered" ;
}
if ( Message = = "PLC获取的最终SFC为: " )
{
Result = "The final SFC obtained via PLC is:" ;
}
if ( Message = = "设备EA值" )
{
Result = "Device EA value" ;
}
if ( Message = = "收卷完工获取绑定信息为空不进入结束流程" )
{
Result = "Winding completion: binding information is empty, end process not entered" ;
}
if ( Message = = "通过PLC获取的SFC为: " )
{
Result = "The SFC obtained via PLC is: " ;
}
if ( Message = = "通过PLC获取SFC为空" )
{
Result = "SFC obtained via PLC is empty" ;
}
if ( Message = = "收卷结束信号触发成功" )
{
Result = "Winding end signal triggered successfully" ;
}
if ( Message = = "冷压收卷涨紧信号逻辑处理异常" )
{
Result = "Cold press winding tension signal logic processing error" ;
}
if ( Message = = "解绑RFID条码绑定的SFC信息" )
{
Result = "Unbind RFID barcode bound SFC information" ;
}
if ( Message = = "RFID条码已存在其它位置, 检查是否重复" )
{
Result = "RFID barcode exists at another location; check for duplication" ;
}
if ( Message = = "绑定卷轴与物料信息,获取卷轴信息为空" )
{
Result = "Binding reel and material information; reel information is empty" ;
}
if ( Message = = "RFID读取成功, RFID为: " )
{
Result = "RFID read successfully, RFID is: " ;
}
if ( Message = = "RFID条码信息读取失败" )
{
Result = "Failed to read RFID barcode information" ;
}
if ( Message = = "读到标签条码信息:" )
{
Result = "Read RFID barcode information from label: " ;
}
if ( Message = = "2A轴3#天线" )
{
Result = "2A-axis Antenna #3" ;
}
if ( Message = = "2A轴4#天线" )
{
Result = "2A-axis Antenna #4" ;
}
if ( Message = = "2B轴3#天线" )
{
Result = "2B-axis Antenna #3" ;
}
if ( Message = = "2B轴4#天线" )
{
Result = "2B-axis Antenna #4" ;
}
if ( Message = = "1B轴1#天线" )
{
Result = "1B-axis Antenna #1" ;
}
if ( Message = = "1B轴2#天线" )
{
Result = "1B-axis Antenna #2" ;
}
if ( Message = = "1A轴2#天线" )
{
Result = "1A-axis Antenna #2" ;
}
if ( Message = = "1A轴1#天线" )
{
Result = "1A-axis Antenna #1" ;
}
if ( Message = = "开始读取卷筒RFID物料信息" )
{
Result = "Start reading reel RFID material information" ;
}
if ( Message = = "放卷位物料信息为空,先触发放卷位物料信息" )
{
Result = "Material information at unwinding position is empty; trigger material information at unwinding position first" ;
}
if ( Message = = "收卷位涨紧信号触发成功" )
{
Result = "Winding position tension signal triggered successfully" ;
}
if ( Message = = "冷压放卷位结束逻辑处理异常" )
{
Result = "Cold press unwinding position end logic processing error" ;
}
if ( Message = = "生成放卷信息" )
{
Result = "Generate unwinding information" ;
}
if ( Message = = "放卷结束,获取上料信息为空" )
{
Result = "Unwinding finished; reel binding information is empty" ;
}
if ( Message = = "放卷位结束信号触发成功" )
{
Result = "Unwinding position end signal triggered successfully" ;
}
if ( Message = = "放卷涨紧逻辑处理异常" )
{
Result = "Cold press unwinding tension logic processing error" ;
}
if ( Message = = "RFID读取到的条码与前一读取相同并且生产未结束, 可以继续生产" )
{
Result = "The barcode read from the unwinding position is the same as the previous one, and production is not finished; production can continue" ;
}
if ( Message = = "当前读取的RFID, 已经生产结束不允许再次上料" )
{
Result = "The RFID read is already finished with production and does not allow refeeding" ;
}
if ( Message = = "RFID条码信息读取成功,RFID为" )
{
Result = "Successfully read RFID barcode information at unwinding position, RFID is:" ;
}
if ( Message = = "RFID条码信息读取失败" )
{
Result = "Failed to read RFID barcode information at unwinding position" ;
}
if ( Message = = "获取放卷位RFID设备信息异常" )
{
Result = "Error obtaining RFID device information at unwinding position" ;
}
if ( Message = = "涨紧信号触发成功" )
{
Result = "Unwinding position tension signal triggered successfully" ;
}
if ( Message = = "放卷手动写入后收到涨紧信号,不进行读取!" )
{
Result = "After manual input of unwinding, tension signal is received; reading is not performed!" ;
}
if ( Message = = "A放卷轴" )
{
Result = "Unwind A axis" ;
}
if ( Message = = "B放卷轴" )
{
Result = "Abwickeln Achse B" ;
}
# endregion
# endregion
#region 界面初始化
if ( Message = = "请登录系统管理账号进行操作" )
{
Result = "Please log in with the system administrator account to perform operations" ;
}
if ( Message = = "PLC初始化" )
{
Result = "PLC Init" ;
}
if ( Message = = "PLC连接失败" )
{
Result = "PLC Connect Fail" ;
}
if ( Message = = "PLC断开, 重新建立连接" )
{
Result = "PLC Connect Fail,Reconnect..." ;
}
if ( Message = = "PLC断开, 重新连接失败" )
{
Result = "PLC Connect Fail,Reconnect Fail" ;
}
# endregion
#region 涂布
#region 逻辑日志
if ( Message = = "解绑RFID绑定的SFC条码" )
{
Result = "Unbind SFC barcode bound to RFID" ;
}
if ( Message = = "收卷开始信号触发成功" )
{
Result = "Winding start signal triggered successfully" ;
}
if ( Message = = "强制下料完成" )
{
Result = "Forced Material Discharge Completed" ;
}
if ( Message = = "强制下料状态更新失败" )
{
Result = "Failed to Update Forced Material Discharge Status" ;
}
if ( Message = = "通过SFC获取下料信息为空" )
{
Result = "No feeding information obtained via SFC" ;
}
if ( Message = = "获取绑定的SFC信息: " )
{
Result = "Get bound SFC information" ;
}
if ( Message = = "下发下料信号" )
{
Result = "Issue feeding signal" ;
}
if ( Message = = "强制下料信号触发成功" )
{
Result = "Forced feeding signal triggered successfully" ;
}
if ( Message = = "工单预警判断异常:" )
{
Result = "Work order warning determination error: " ;
}
if ( Message = = "工单超产,及时更换工单" )
{
Result = "Work order overproduction; please replace work order promptly" ;
}
if ( Message = = "获取工单预警设置信息为空" )
{
Result = "Warning configuration for work order is empty" ;
}
if ( Message = = "涂布工单下达调用MES接口调用异常: " )
{
Result = "Exception Occurred When Calling MES API for Coating Work Order Issuance: " ;
}
if ( Message = = "涂布工单获取调用MES接口失败: " )
{
Result = "Failed to Call MES API for Coating Work Order Retrieval: " ;
}
if ( Message = = "调用MES涂布工单下达接口" )
{
Result = "Call MES Coating Work Order Issuance API" ;
}
if ( Message = = "绑定卷轴与RFID条码获取卷轴信息为空" | | Message = = "获取卷轴信息为空" )
{
Result = "Reel information is empty" ;
}
if ( Message = = "MES涂布工单下达接口调用成功,膜卷号:" )
{
Result = "MES Coating Work Order Issuance API Call Successful, Film Roll No: " ;
}
if ( Message = = "RFID条码未绑定SFC信息" )
{
Result = "RFID barcode is not bound to any SFC information" ;
}
if ( Message = = "RFID条码解绑失败" )
{
Result = "Failed to unbind RFID barcode" ;
}
if ( Message = = "MES解绑接口调用异常: " )
{
Result = "Error calling unbinding interface: " ;
}
if ( Message = = "MES获取膜卷号接口调用异常: " )
{
Result = "Error calling MES interface to obtain film roll number: " ;
}
if ( Message = = "RFID条码绑定的SFC条码为: " )
{
Result = "SFC barcode bound to RFID barcode is: " ;
}
if ( Message = = "调用MES接口获取RFID绑定的SFC" )
{
Result = "Call MES interface to obtain SFC bound to RFID" ;
}
if ( Message = = "读取涂布机收卷EA: " )
{
Result = "Read coating machine winding EA value: " ;
}
if ( Message = = "读取涂布机收卷米数:" )
{
Result = "Read coating machine winding length (meters): " ;
}
if ( Message = = "收卷结束,下发禁止下料信号" )
{
Result = "Winding finished; issuing “feeding prohibited” signal" ;
}
if ( Message = = "收卷完工获取绑定信息为空不进入结束流程" )
{
Result = "Bound information is empty at winding completion; end process not executed" ;
}
if ( Message = = "收卷结束信号触发成功" )
{
Result = "Winding end signal triggered successfully" ;
}
if ( Message = = "RFID读取到的条码与前一读取相同不做MES处理" )
{
Result = "RFID scanned barcode is the same as previous; MES processing is skipped" ;
}
if ( Message = = "RFID条码信息读取成功: " )
{
Result = "RFID barcode information read successfully: " ;
}
if ( Message = = "RFID条码信息读取失败" )
{
Result = "Failed to read RFID barcode information" ;
}
if ( Message = = "RFID条码信息读取相同与" )
{
Result = "RFID barcode information is the same as that read from" ;
}
if ( Message = = "请更换卷筒或标签" )
{
Result = "please replace the reel or label" ;
}
if ( Message = = "获取RFID设备信息异常" )
{
Result = "Error obtaining RFID device information" ;
}
if ( Message = = "开始读取卷筒RFID物料信息" )
{
Result = "Start reading RFID material information of reel" ;
}
if ( Message = = "收卷涨紧触发成功" )
{
Result = "Winding tension trigger succeeded" ;
}
if ( Message = = "B轴" )
{
Result = "B-axis" ;
}
if ( Message = = "A轴" )
{
Result = "A-axis" ;
}
# endregion
#region 界面日志
if ( Message = = "收卷位设备连接成功" )
{
Result = "Connected Successfully" ;
}
if ( Message = = "收卷位设备连接失败" )
{
Result = "Connected Fail" ;
}
if ( Message = = "下料记录为空,生产过程中未记录到RFID条码信息" )
{
Result = "Blankierungsdatensatz ist leer; während der Produktion wurde keine RFID-Barcode-Information erfasst." ;
}
if ( Message = = "调用MES注销SFC接口" )
{
Result = "Call MES Unregister SFC Interface" ;
}
if ( Message = = "注销SFC接口调用失败: " )
{
Result = "Failed to call the MES Unregister SFC Interface: " ;
}
if ( Message = = "注销SFC接口调用异常: " )
{
Result = "Abnormal call of the MES Unregister SFC Interface: " ;
}
if ( Message = = "注销SFC接口调用成功" )
{
Result = "MES Unregister SFC Interface called successfully" ;
}
if ( Message = = "调整A面数量调用MES接口失败: " )
{
Result = "Failed to call the MES Interface for A-side Quantity Adjustment: " ;
}
if ( Message = = "调整A面数量调用MES接口异常: " )
{
Result = "Abnormal call of the MES Interface for A-side Quantity Adjustment: " ;
}
if ( Message = = "调整A面数量接口调用成功, 数量调整为" )
{
Result = "A-side Quantity Adjustment Interface called successfully; quantity adjusted to" ;
}
if ( Message = = "A面自动入账调用MES接口异常: " )
{
Result = "Ausnahme beim Aufruf der MES-Schnittstelle zur automatischen Buchung der A-Seite: " ;
}
if ( Message = = "A面自动入账成功" )
{
Result = "Automatische Buchung der A-Seite war erfolgreich" ;
}
if ( Message = = "未进入结束流程" )
{
Result = "The termination process has not been initiated" ;
}
if ( Message = = "A面调整完成调用MES接口失败: " )
{
Result = "Failed to call the MES Interface after A-side adjustment completion: " ;
}
if ( Message = = "A面调整完成调用MES接口异常: " )
{
Result = "Exception occurred while calling the MES Interface after A-side adjustment completion: " ;
}
if ( Message = = "A面调整完成调用MES接口成功" )
{
Result = "MES Interface called successfully after A-side adjustment completion" ;
}
if ( Message = = "B面开始调用MES接口失败: " )
{
Result = "Failed to call the MES Interface for B-side Start: " ;
}
if ( Message = = "B面开始调用MES接口异常: " )
{
Result = "Exception occurred while calling the MES Interface for B-side Start: " ;
}
if ( Message = = "B面自动入账完成" )
{
Result = "B-side automatic posting completed" ;
}
if ( Message = = "完工流程结束" )
{
Result = "Completion process concluded" ;
}
if ( Message = = "B面调整完成调用MES接口失败: " )
{
Result = "Failed to call the MES Interface after B-side adjustment completion: " ;
}
if ( Message = = "B面调整完成调用MES接口异常: " )
{
Result = "Exception occurred while calling the MES Interface after B-side adjustment completion: " ;
}
if ( Message = = "调整B面完工调用MES接口成功" )
{
Result = "MES Interface for B-side Completion Adjustment called successfully" ;
}
if ( Message = = "收卷结束,下发下料信号" )
{
Result = "Winding completed; feeding signal sent" ;
}
if ( Message = = "收卷流程结束异常:" )
{
Result = "Abnormal termination of the winding process: " ;
}
if ( Message = = "RFID物料追溯系统初始化" )
{
Result = "RFID Material Traceability System Initialization" ;
}
if ( Message = = "程序初始化数据为空" )
{
Result = "Program initialization data is empty" ;
}
if ( Message = = "请输入需要设置预警的工单编号" )
{
Result = "Please enter the work order number for which you want to set an alert" ;
}
if ( Message = = "工单预警设置成功" )
{
Result = "Work order alert set successfully" ;
}
if ( Message = = "工单预警数量设置失败" )
{
Result = "Failed to set work order alert quantity" ;
}
# endregion
# endregion
break ;
default :
break ;
}
return Result ;
}
}
}