Esempio n. 1
0
 static Event()
 {
     ClassInsertStatement = EntryBase.ClassInsertStatement.Replace(") VALUES (", ", IP, GeoLatitude, GeoLongitude, Connected, OpMode, JobMode, Operator, JobCard, Mold) VALUES (");
     ClassInsertStatement = ClassInsertStatement.Substring(0, ClassInsertStatement.Length - 1) + ", ?, ?, ?, ?, ?, ?, ?, ?, ?)";
 }
Esempio n. 2
0
 static CycleData()
 {
     ClassInsertStatement = EntryBase.ClassInsertStatement.Replace(") VALUES (", ", Operator, OpMode, JobMode, JobCard, Mold, UniqueID) VALUES (");
     ClassInsertStatement = ClassInsertStatement.Substring(0, ClassInsertStatement.Length - 1) + ", ?, ?, ?, ?, ?, ?)";
 }
Esempio n. 3
0
 static AuditTrail()
 {
     ClassInsertStatement = KeyEntryBase.ClassInsertStatement.Replace("<KeyName>", DatabaseKeyField).Replace("<ValueName>", "Value").Replace(") VALUES (", ", OldValue, Operator) VALUES (");
     ClassInsertStatement = ClassInsertStatement.Substring(0, ClassInsertStatement.Length - 1) + ", ?, ?)";
 }
Esempio n. 4
0
 static KeyEntryBase()
 {
     ClassInsertStatement = EntryBase.ClassInsertStatement.Replace(") VALUES (", ", <KeyName>, <ValueName>) VALUES (");
     ClassInsertStatement = ClassInsertStatement.Substring(0, ClassInsertStatement.Length - 1) + ", ?, ?)";
 }