public ZRNModel(WordValue _BackValue, WordValue _CrawValue, BitValue _SignalValue, BitValue _OutputValue) { BackValue = _BackValue; CrawValue = _CrawValue; SignalValue = _SignalValue; OutputValue = _OutputValue; }
public SHLBModel() { SourceValue = BitValue.Null; DestinationValue = BitValue.Null; CountValue = WordValue.Null; MoveValue = WordValue.Null; }
public PLSRDModel(WordValue _ArgumentValue, WordValue _VelocityValue, BitValue _OutputValue1, BitValue _OutputValue2) { ArgumentValue = _ArgumentValue; VelocityValue = _VelocityValue; OutputValue1 = _OutputValue1; OutputValue2 = _OutputValue2; }
public ZCPModel(WordValue _InputValue1, WordValue _InputValue2, WordValue _InputValue3, BitValue _OutputValue) { InputValue1 = _InputValue1; InputValue2 = _InputValue2; InputValue3 = _InputValue3; OutputValue = _OutputValue; }
public ActionResult DailyTimeSheet(int id, string date) { var concernId = Convert.ToInt32(Session["ConcernId"]); var userId = Convert.ToInt32(Session["UserId"]); var userName = Convert.ToString(Session["UserName"]); if (userId > 0 && concernId > 0) { int totalValue = 0; var sheet = _report.DailyTimeSheet(userName, userId, id, date, "en-US"); foreach (var item in sheet) { totalValue = Convert.ToInt32(item.TotalBeforeVat); } WordValue value = new WordValue(); var final = value.NumberToWords(totalValue); //var today = DateTime.Now.ToString("yyyy-MM-dd"); ReportViewModels viewModels = new ReportViewModels { ResponseTimeSheets = sheet }; ViewBag.Value = final; var report = new PartialViewAsPdf("DailyTimeSheet", viewModels); return(report); } return(RedirectToAction("LogIn", "GlobalData", new { Area = "Global" })); }
public SMOVModel(WordValue _SoruceValue, WordValue _SourceStart, WordValue _SourceCount, WordValue _DestinationValue, WordValue _DestinationStart) { SoruceValue = _SoruceValue; SourceStart = _SourceStart; SourceCount = _SourceCount; DestinationValue = _DestinationValue; DestinationStart = _DestinationStart; }
public SMOVModel() { SoruceValue = WordValue.Null; SourceStart = WordValue.Null; SourceCount = WordValue.Null; DestinationValue = WordValue.Null; DestinationStart = WordValue.Null; }
public override void SetPara(int id, IValueModel value) { switch (id) { case 0: FreqValue = (WordValue)value; break; case 1: PulseValue = (WordValue)value; break; case 2: OutputValue = (BitValue)value; break; default: throw new ArgumentOutOfRangeException(String.Format("Index {0:d} out of range for parameters", id)); } }
public override string ToString() { int N = 20; String repeatedString; string str = ""; foreach (int i in ArrOfLine) { str = str + Convert.ToString(i) + " "; } try { repeatedString = new String('.', N - WordValue.Count()); } catch { repeatedString = "."; } return(WordValue + repeatedString + Convert.ToString(NumberInText) + ": " + str); }
public LDWGEModel(WordValue v1, WordValue v2) { Value1 = v1; Value2 = v2; }
public SETModel() { Value = BitValue.Null; Count = WordValue.Null; }
public ADDModel(WordValue inputValue1, WordValue inputValue2, WordValue outputValue) { InputValue1 = inputValue1; InputValue2 = inputValue2; OutputValue = outputValue; }
public LDWGEModel() { Value1 = WordValue.Null; Value2 = WordValue.Null; }
public RORModel(WordValue sourceValue, WordValue destValue, WordValue count) { SourceValue = sourceValue; DestinationValue = destValue; Count = count; }
public ADDModel() { InputValue1 = WordValue.Null; InputValue2 = WordValue.Null; OutputValue = WordValue.Null; }
public MOVModel(WordValue s, WordValue d) { SourceValue = s; DestinationValue = d; TotalVaribleCount = 0; }
public ATCHModel(string _FuncName, WordValue _IDValue) { FuncName = _FuncName; IDValue = _IDValue; }
public INCModel() { InputValue = WordValue.Null; OutputValue = WordValue.Null; }
public NEGModel(WordValue _InputValue, WordValue _OutputValue) { InputValue = _InputValue; OutputValue = _OutputValue; }
public BCDModel() { InputValue = WordValue.Null; OutputValue = WordValue.Null; }
public TRDModel(WordValue startValue) { StartValue = startValue; }
public TRDModel() { StartValue = WordValue.Null; }
public SETModel(BitValue value, WordValue count) { Value = value; Count = count; }
public DTOWModel() { InputValue = DoubleWordValue.Null; OutputValue = WordValue.Null; TotalVaribleCount = 0; }
public ATCHModel() { FuncName = String.Empty; IDValue = WordValue.Null; }
public DTOWModel(DoubleWordValue input, WordValue output) { InputValue = input; OutputValue = output; TotalVaribleCount = 0; }
public override int GetHashCode() => WordValue.GetHashCode();
public RORModel() { SourceValue = WordValue.Null; DestinationValue = WordValue.Null; Count = WordValue.Null; }
public INCModel(WordValue inputValue, WordValue outputValue) { InputValue = inputValue; OutputValue = outputValue; }
public MOVModel() { SourceValue = WordValue.Null; DestinationValue = WordValue.Null; TotalVaribleCount = 0; }